代码拉取完成,页面将自动刷新
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
annotations: {}
labels:
k8s.kuboard.cn/layer: db
k8s.kuboard.cn/name: clickhouse-server
name: clickhouse-server
namespace: click-house
spec:
podManagementPolicy: OrderedReady
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
k8s.kuboard.cn/layer: db
k8s.kuboard.cn/name: clickhouse-server
serviceName: clickhouse-server
template:
metadata:
labels:
k8s.kuboard.cn/layer: db
k8s.kuboard.cn/name: clickhouse-server
spec:
containers:
- image: registry.cn-hangzhou.aliyuncs.com/wu-library/clickhouse-server:22.2.2.1
imagePullPolicy: Always
name: clickhouse-server
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
env:
- name: CLICKHOUSE_USER
value: root
- name: CLICKHOUSE_PASSWORD
value: wujiawei
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
updateStrategy:
rollingUpdate:
partition: 0
type: RollingUpdate
---
apiVersion: v1
kind: Service
metadata:
annotations: {}
labels:
k8s.kuboard.cn/layer: db
k8s.kuboard.cn/name: clickhouse-server
name: clickhouse-server
namespace: click-house
spec:
ipFamilyPolicy: SingleStack
ports:
- name: ynapyh
nodePort: 29729
port: 9000
protocol: TCP
targetPort: 9000
- name: y7hn4z
nodePort: 1391
port: 8123
protocol: TCP
targetPort: 8123
selector:
k8s.kuboard.cn/layer: db
k8s.kuboard.cn/name: clickhouse-server
sessionAffinity: None
type: NodePort
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。