eindelijk weer eens een push
This commit is contained in:
1 parent
01cff8e165
commit
ff21c258e0
2747 files changed
+302316
-131101
No files matched your search
@@ -1,8 +1,13 @@
|
||||
#installatie:
|
||||
|
||||
kubectl create ns redis
|
||||
kubectl apply -f redis.pvc
|
||||
helm install redis bitnami/redis -n redis -f values.yaml
|
||||
|
||||
#resultaat:
|
||||
redis via loadbalancer beschikbaar op 192.168.2.182
|
||||
|
||||
#output van helm install:
|
||||
|
||||
NAME: redis
|
||||
LAST DEPLOYED: Wed Apr 3 10:11:09 2024
|
||||
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
microk8s kubectl create ns redis
|
||||
microk8s kubectl apply -f redis-pvc.yaml
|
||||
microk8s helm install redis bitnami/redis -n redis -f values.yaml
|
||||
@@ -13,7 +13,7 @@ spec:
|
||||
- hard
|
||||
- nfsvers=4.1
|
||||
nfs:
|
||||
server: 192.168.2.110
|
||||
server: 192.168.2.111
|
||||
path: /mnt/nfs_share/redis/master-0
|
||||
readOnly: false
|
||||
---
|
||||
@@ -32,7 +32,7 @@ spec:
|
||||
- hard
|
||||
- nfsvers=4.1
|
||||
nfs:
|
||||
server: 192.168.2.110
|
||||
server: 192.168.2.111
|
||||
path: /mnt/nfs_share/redis/replicas-0
|
||||
readOnly: false
|
||||
---
|
||||
@@ -51,7 +51,7 @@ spec:
|
||||
- hard
|
||||
- nfsvers=4.1
|
||||
nfs:
|
||||
server: 192.168.2.110
|
||||
server: 192.168.2.111
|
||||
path: /mnt/nfs_share/redis/replicas-1
|
||||
readOnly: false
|
||||
---
|
||||
@@ -70,7 +70,7 @@ spec:
|
||||
- hard
|
||||
- nfsvers=4.1
|
||||
nfs:
|
||||
server: 192.168.2.110
|
||||
server: 192.168.2.111
|
||||
path: /mnt/nfs_share/redis/replicas-2
|
||||
readOnly: false
|
||||
---
|
||||
@@ -21,7 +21,7 @@ global:
|
||||
imagePullSecrets: []
|
||||
storageClass: ""
|
||||
redis:
|
||||
password: ""
|
||||
password: "Redis01@"
|
||||
## Compatibility adaptations for Kubernetes platforms
|
||||
##
|
||||
compatibility:
|
||||
@@ -152,13 +152,13 @@ auth:
|
||||
usePasswordFiles: false
|
||||
## @param auth.usePasswordFileFromSecret Mount password file from secret
|
||||
##
|
||||
usePasswordFileFromSecret: true
|
||||
usePasswordFileFromSecret: false
|
||||
## @param commonConfiguration [string] Common configuration to be added into the ConfigMap
|
||||
## ref: https://redis.io/topics/config
|
||||
##
|
||||
commonConfiguration: |-
|
||||
# Enable AOF https://redis.io/topics/persistence#append-only-file
|
||||
appendonly yes
|
||||
appendonly no
|
||||
# Disable RDB persistence, AOF persistence already enabled.
|
||||
save ""
|
||||
## @param existingConfigmap The name of an existing ConfigMap with your custom configuration for Redis® nodes
|
||||
@@ -328,7 +328,7 @@ master:
|
||||
## @param master.kind Use either Deployment, StatefulSet (default) or DaemonSet
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/
|
||||
##
|
||||
kind: StatefulSet
|
||||
kind: Deployment
|
||||
## @param master.schedulerName Alternate scheduler for Redis® master pods
|
||||
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
||||
##
|
||||
@@ -466,7 +466,7 @@ master:
|
||||
persistence:
|
||||
## @param master.persistence.enabled Enable persistence on Redis® master nodes using Persistent Volume Claims
|
||||
##
|
||||
enabled: true
|
||||
enabled: false
|
||||
## @param master.persistence.medium Provide a medium for `emptyDir` volumes.
|
||||
##
|
||||
medium: ""
|
||||
@@ -532,7 +532,7 @@ master:
|
||||
service:
|
||||
## @param master.service.type Redis® master service type
|
||||
##
|
||||
type: LoadBalancer
|
||||
type: ClusterIP
|
||||
## @param master.service.ports.redis Redis® master service port
|
||||
##
|
||||
ports:
|
||||
@@ -623,7 +623,7 @@ replica:
|
||||
kind: StatefulSet
|
||||
## @param replica.replicaCount Number of Redis® replicas to deploy
|
||||
##
|
||||
replicaCount: 3
|
||||
replicaCount: 1
|
||||
## @param replica.configuration Configuration for Redis® replicas nodes
|
||||
## ref: https://redis.io/topics/config
|
||||
##
|
||||
|
||||
Reference in new issue
Block a user