deployment.yaml 878 B

12345678910111213141516171819202122232425262728293031323334353637
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: ck-ui
  5. namespace: observe
  6. labels:
  7. app.kubernetes.io/name: ck-ui
  8. spec:
  9. selector:
  10. matchLabels:
  11. app.kubernetes.io/name: ck-ui
  12. replicas: 1
  13. template:
  14. metadata:
  15. labels:
  16. app.kubernetes.io/name: ck-ui
  17. spec:
  18. containers:
  19. - name: ck-ui
  20. image: spoonest/clickhouse-tabix-web-client
  21. imagePullPolicy: IfNotPresent
  22. ports:
  23. - name: web
  24. containerPort: 80
  25. protocol: TCP
  26. env:
  27. - name: TZ
  28. value: "Asia/Shanghai"
  29. - name: CH_NAME
  30. value: "otel"
  31. - name: CH_HOST
  32. value: "clickhouse.cestong.com.cn:80"
  33. - name: CH_LOGIN
  34. value: "default"
  35. - name: CH_PASSWORD
  36. value: "cecf@cestong.com"