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