fix
This commit is contained in:
@@ -35,7 +35,7 @@ metadata:
|
||||
name: k8s-app
|
||||
spec:
|
||||
rules:
|
||||
- host: app.k8s-nsk.tk
|
||||
- host: app3.k8s-nsk.tk
|
||||
http:
|
||||
paths:
|
||||
- pathType: Prefix
|
||||
@@ -47,7 +47,7 @@ spec:
|
||||
number: 80
|
||||
tls:
|
||||
- hosts:
|
||||
- app.k8s-nsk.tk
|
||||
- app3.k8s-nsk.tk
|
||||
secretName: app-k8s-nsk-tls
|
||||
|
||||
---
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# add config file
|
||||
cat kube_config_cluster.yml > ~/.kube/k8s-hls
|
||||
cat kube_config_cluster.yml > ~/.kube/k8s-hls.yaml
|
||||
|
||||
# enable config auth
|
||||
export KUBECONFIG=$(find ~/.kube -maxdepth 1 -type f -name '*' | tr "\n" ":")
|
||||
|
@@ -6,7 +6,7 @@ ignore_docker_version: true
|
||||
kubernetes_version: v1.19.9-rancher1-1
|
||||
|
||||
nodes:
|
||||
- address: 65.21.177.5
|
||||
- address: 65.21.183.185
|
||||
# internal_address: 10.0.0.3
|
||||
hostname_override: node1
|
||||
user: root
|
||||
@@ -14,7 +14,7 @@ nodes:
|
||||
worker: yes
|
||||
location: nsk
|
||||
role: [controlplane, worker, etcd]
|
||||
- address: 65.21.177.4
|
||||
- address: 65.21.183.183
|
||||
# internal_address: 10.0.0.2
|
||||
hostname_override: node2
|
||||
user: root
|
||||
@@ -22,7 +22,7 @@ nodes:
|
||||
worker: yes
|
||||
location: nsk
|
||||
role: [controlplane, worker, etcd]
|
||||
- address: 65.21.177.3
|
||||
- address: 65.21.183.184
|
||||
# internal_address: 10.0.0.4
|
||||
hostname_override: node3
|
||||
user: root
|
||||
|
@@ -7,7 +7,7 @@ image:
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
nfs:
|
||||
server: 65.21.177.6
|
||||
server: 65.21.55.156
|
||||
path: /mnt/data
|
||||
mountOptions:
|
||||
|
||||
|
@@ -2,9 +2,9 @@
|
||||
|
||||
# ubuntu 20.04
|
||||
|
||||
NODE1=65.21.177.5
|
||||
NODE2=65.21.177.4
|
||||
NODE3=65.21.177.3
|
||||
NODE1=65.21.183.185
|
||||
NODE2=65.21.183.183
|
||||
NODE3=65.21.183.184
|
||||
|
||||
FOLDER=/mnt/data
|
||||
|
||||
|
Reference in New Issue
Block a user