mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-09 04:15:52 +10:00
update nginx to tolerate master node
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
# namespaces
|
||||
kubectl create namespace longhorn
|
||||
|
||||
# taints
|
||||
|
||||
kubectl taint nodes server-1 node=special:NoSchedule
|
||||
|
||||
## install nginx ingress controller grafana dashboards
|
||||
# https://github.com/kubernetes/ingress-nginx/tree/master/deploy/grafana/dashboards
|
||||
|
||||
|
||||
@@ -10,6 +10,11 @@ stats:
|
||||
|
||||
nodeSelector:
|
||||
gateway: "true"
|
||||
tolerations:
|
||||
- key: node
|
||||
operator: Equal
|
||||
value: special
|
||||
effect: NoSchedule
|
||||
replicaCount: 1
|
||||
|
||||
service:
|
||||
|
||||
+13
-11
@@ -1,21 +1,23 @@
|
||||
image:
|
||||
repository: postgres
|
||||
tag: 11
|
||||
postgresqlDataDir: /var/lib/postgresql/data
|
||||
# image:
|
||||
# repository: postgres
|
||||
# tag: 11
|
||||
# postgresqlDataDir: /bitnami/postgresql
|
||||
postgresqlPassword: "@wahyd4"
|
||||
postgresqlDatabase: home
|
||||
persistence:
|
||||
mountPath: /var/lib/postgresql/data
|
||||
storageClass: nfs
|
||||
existingClaim: postgres-nfs
|
||||
mountPath: /bitnami/postgresql
|
||||
storageClass: longhorn-static
|
||||
existingClaim: postgres-db
|
||||
# storageClass: nfs
|
||||
# existingClaim: postgres-nfs
|
||||
volumePermissions:
|
||||
enabled: true
|
||||
securityContext:
|
||||
fsGroup: 1000
|
||||
runAsUser: 1000
|
||||
# securityContext:
|
||||
# fsGroup: 1000
|
||||
# runAsUser: 1000
|
||||
service:
|
||||
type: NodePort
|
||||
nodePort: 32222
|
||||
nodePort: 31111
|
||||
metrics:
|
||||
enabled: true
|
||||
serviceMonitor:
|
||||
|
||||
Reference in New Issue
Block a user