ingress_white
This commit is contained in:
parent
f7481227f2
commit
86de930511
|
|
@ -8,7 +8,12 @@ metadata:
|
||||||
#nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
#nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||||
nginx.ingress.kubernetes.io/backend-protocol: "https"
|
nginx.ingress.kubernetes.io/backend-protocol: "https"
|
||||||
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
|
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
|
||||||
nginx.ingress.kubernetes.io/whitelist-source-range: "10.0.0.0/24,10.1.0.0/16,106.254.240.2/32,10.140.224.0/24"
|
nginx.ingress.kubernetes.io/whitelist-source-range: |
|
||||||
|
114.110.128.150/32,
|
||||||
|
114.110.128.46/32,
|
||||||
|
114.110.132.4/32,
|
||||||
|
114.110.132.5/32,
|
||||||
|
106.254.240.2/32
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
rules:
|
rules:
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ spec:
|
||||||
encapsulation: VXLAN # openstack 에서는 VXLAN을 사용해야해안다 byljh
|
encapsulation: VXLAN # openstack 에서는 VXLAN을 사용해야해안다 byljh
|
||||||
natOutgoing: Enabled
|
natOutgoing: Enabled
|
||||||
nodeSelector: all()
|
nodeSelector: all()
|
||||||
|
kubeletVolumePluginPath: /mnt/vdb/kubelet # calico가 사용하는 kubelet volume path
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -372,12 +372,12 @@ spec:
|
||||||
args:
|
args:
|
||||||
- --v=5
|
- --v=5
|
||||||
- --csi-address=/csi/csi.sock
|
- --csi-address=/csi/csi.sock
|
||||||
- --kubelet-registration-path=/var/lib/kubelet/plugins/exa.csi.ddn.com/csi.sock
|
- --kubelet-registration-path=/mnt/vdb/kubelet/plugins/exa.csi.ddn.com/csi.sock
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
- /csi-node-driver-registrar
|
- /csi-node-driver-registrar
|
||||||
- --kubelet-registration-path=/var/lib/kubelet/plugins/exa.csi.ddn.com/csi.sock
|
- --kubelet-registration-path=/mnt/vdb/kubelet/plugins/exa.csi.ddn.com/csi.sock
|
||||||
- --mode=kubelet-registration-probe
|
- --mode=kubelet-registration-probe
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
timeoutSeconds: 15
|
timeoutSeconds: 15
|
||||||
|
|
@ -417,20 +417,20 @@ spec:
|
||||||
mountPath: /host
|
mountPath: /host
|
||||||
mountPropagation: Bidirectional
|
mountPropagation: Bidirectional
|
||||||
- name: pods-mount-dir
|
- name: pods-mount-dir
|
||||||
mountPath: /var/lib/kubelet/pods
|
mountPath: /mnt/vdb/kubelet/pods
|
||||||
mountPropagation: Bidirectional
|
mountPropagation: Bidirectional
|
||||||
volumes:
|
volumes:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/lib/kubelet/plugins/exa.csi.ddn.com
|
path: /mnt/vdb/kubelet/plugins/exa.csi.ddn.com
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
- name: registration-dir
|
- name: registration-dir
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/lib/kubelet/plugins_registry/
|
path: /mnt/vdb/kubelet/plugins_registry/
|
||||||
type: Directory
|
type: Directory
|
||||||
- name: pods-mount-dir
|
- name: pods-mount-dir
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/lib/kubelet/pods
|
path: /mnt/vdb/kubelet/pods
|
||||||
type: Directory
|
type: Directory
|
||||||
- name: host
|
- name: host
|
||||||
hostPath:
|
hostPath:
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,11 @@
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
kind: StorageClass
|
kind: StorageClass
|
||||||
metadata:
|
metadata:
|
||||||
name: user-nas
|
name: component-nas
|
||||||
|
annotations:
|
||||||
|
storageclass.kubernetes.io/is-default-class: "true"
|
||||||
provisioner: exa.csi.ddn.com
|
provisioner: exa.csi.ddn.com
|
||||||
parameters:
|
parameters:
|
||||||
# projectId: "100001" # Points to a project id to be used to set volume quota.
|
# projectId: "100001" # Points to a project id to be used to set volume quota.
|
||||||
# bindMount: "false"
|
# bindMount: "false"
|
||||||
|
reclaimPolicy: Retain
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
|
metadata:
|
||||||
|
name: internal-nas
|
||||||
|
provisioner: exa.csi.ddn.com
|
||||||
|
parameters:
|
||||||
|
# projectId: "100001" # Points to a project id to be used to set volume quota.
|
||||||
|
# bindMount: "false"
|
||||||
|
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
|
metadata:
|
||||||
|
name: component-nas
|
||||||
|
annotations:
|
||||||
|
storageclass.kubernetes.io/is-default-class: "true"
|
||||||
|
provisioner: exa.csi.ddn.com
|
||||||
|
parameters:
|
||||||
|
# projectId: "100001" # Points to a project id to be used to set volume quota.
|
||||||
|
# bindMount: "false"
|
||||||
|
reclaimPolicy: Retain
|
||||||
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
|
metadata:
|
||||||
|
name: user-nas
|
||||||
|
provisioner: exa.csi.ddn.com
|
||||||
|
parameters:
|
||||||
|
# projectId: "100001" # Points to a project id to be used to set volume quota.
|
||||||
|
# bindMount: "false"
|
||||||
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
data:
|
data:
|
||||||
allow-snippet-annotations: "true"
|
allow-snippet-annotations: "true"
|
||||||
|
use-proxy-protocol: "true"
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue