|
| 1 | +--- |
| 2 | +# Source: dragonfly/templates/serviceaccount.yaml |
| 3 | +apiVersion: v1 |
| 4 | +kind: ServiceAccount |
| 5 | +metadata: |
| 6 | + name: test-dragonfly |
| 7 | + namespace: default |
| 8 | + labels: |
| 9 | + app.kubernetes.io/name: dragonfly |
| 10 | + app.kubernetes.io/instance: test |
| 11 | + app.kubernetes.io/version: "v1.35.0" |
| 12 | + app.kubernetes.io/managed-by: Helm |
| 13 | + project: cache-infrastructure |
| 14 | + team: platform |
| 15 | +--- |
| 16 | +# Source: dragonfly/templates/service.yaml |
| 17 | +apiVersion: v1 |
| 18 | +kind: Service |
| 19 | +metadata: |
| 20 | + name: test-dragonfly |
| 21 | + namespace: default |
| 22 | + labels: |
| 23 | + app.kubernetes.io/name: dragonfly |
| 24 | + app.kubernetes.io/instance: test |
| 25 | + app.kubernetes.io/version: "v1.35.0" |
| 26 | + app.kubernetes.io/managed-by: Helm |
| 27 | + project: cache-infrastructure |
| 28 | + team: platform |
| 29 | +spec: |
| 30 | + type: ClusterIP |
| 31 | + ports: |
| 32 | + - port: 6379 |
| 33 | + targetPort: dragonfly |
| 34 | + protocol: TCP |
| 35 | + name: dragonfly |
| 36 | + selector: |
| 37 | + app.kubernetes.io/name: dragonfly |
| 38 | + app.kubernetes.io/instance: test |
| 39 | +--- |
| 40 | +# Source: dragonfly/templates/deployment.yaml |
| 41 | +apiVersion: apps/v1 |
| 42 | +kind: Deployment |
| 43 | +metadata: |
| 44 | + name: test-dragonfly |
| 45 | + namespace: default |
| 46 | + labels: |
| 47 | + app.kubernetes.io/name: dragonfly |
| 48 | + app.kubernetes.io/instance: test |
| 49 | + app.kubernetes.io/version: "v1.35.0" |
| 50 | + app.kubernetes.io/managed-by: Helm |
| 51 | + project: cache-infrastructure |
| 52 | + team: platform |
| 53 | +spec: |
| 54 | + replicas: 1 |
| 55 | + selector: |
| 56 | + matchLabels: |
| 57 | + app.kubernetes.io/name: dragonfly |
| 58 | + app.kubernetes.io/instance: test |
| 59 | + template: |
| 60 | + metadata: |
| 61 | + annotations: |
| 62 | + labels: |
| 63 | + app.kubernetes.io/name: dragonfly |
| 64 | + app.kubernetes.io/instance: test |
| 65 | + project: cache-infrastructure |
| 66 | + team: platform |
| 67 | + spec: |
| 68 | + serviceAccountName: test-dragonfly |
| 69 | + containers: |
| 70 | + - name: dragonfly |
| 71 | + image: "docker.dragonflydb.io/dragonflydb/dragonfly:v1.35.0" |
| 72 | + imagePullPolicy: IfNotPresent |
| 73 | + ports: |
| 74 | + - name: dragonfly |
| 75 | + containerPort: 6379 |
| 76 | + protocol: TCP |
| 77 | + livenessProbe: |
| 78 | + exec: |
| 79 | + command: |
| 80 | + - /bin/sh |
| 81 | + - /usr/local/bin/healthcheck.sh |
| 82 | + failureThreshold: 3 |
| 83 | + initialDelaySeconds: 10 |
| 84 | + periodSeconds: 10 |
| 85 | + successThreshold: 1 |
| 86 | + timeoutSeconds: 5 |
| 87 | + readinessProbe: |
| 88 | + exec: |
| 89 | + command: |
| 90 | + - /bin/sh |
| 91 | + - /usr/local/bin/healthcheck.sh |
| 92 | + failureThreshold: 3 |
| 93 | + initialDelaySeconds: 10 |
| 94 | + periodSeconds: 10 |
| 95 | + successThreshold: 1 |
| 96 | + timeoutSeconds: 5 |
| 97 | + args: |
| 98 | + - "--alsologtostderr" |
| 99 | + resources: |
| 100 | + limits: {} |
| 101 | + requests: {} |
0 commit comments