Automated Manifest Update (#3951)
This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow. Reviewed-on: #3951 Co-authored-by: gitea-bot <gitea-bot@alexlebens.net> Co-committed-by: gitea-bot <gitea-bot@alexlebens.net>
This commit was merged in pull request #3951.
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: rybbit-clickhouse
|
||||
labels:
|
||||
app.kubernetes.io/controller: clickhouse
|
||||
app.kubernetes.io/instance: rybbit
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: rybbit
|
||||
helm.sh/chart: rybbit-4.6.2
|
||||
namespace: rybbit
|
||||
spec:
|
||||
revisionHistoryLimit: 3
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/controller: clickhouse
|
||||
app.kubernetes.io/name: rybbit
|
||||
app.kubernetes.io/instance: rybbit
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/controller: clickhouse
|
||||
app.kubernetes.io/instance: rybbit
|
||||
app.kubernetes.io/name: rybbit
|
||||
spec:
|
||||
enableServiceLinks: false
|
||||
serviceAccountName: default
|
||||
automountServiceAccountToken: true
|
||||
hostIPC: false
|
||||
hostNetwork: false
|
||||
hostPID: false
|
||||
dnsPolicy: ClusterFirst
|
||||
containers:
|
||||
- env:
|
||||
- name: CLICKHOUSE_DB
|
||||
value: analytics
|
||||
- name: CLICKHOUSE_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: clickhouse-user
|
||||
name: rybbit-config-secret
|
||||
- name: CLICKHOUSE_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: clickhouse-password
|
||||
name: rybbit-config-secret
|
||||
image: clickhouse/clickhouse-server:25.4.2
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- CMD
|
||||
- wget
|
||||
- --no-verbose
|
||||
- --tries=1
|
||||
- --spider
|
||||
- http://localhost:8123/ping
|
||||
failureThreshold: 5
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 30
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 5
|
||||
name: main
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 256Mi
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/clickhouse
|
||||
name: clickhouse
|
||||
volumes:
|
||||
- name: clickhouse
|
||||
persistentVolumeClaim:
|
||||
claimName: clickhouse-data
|
||||
Reference in New Issue
Block a user