使用 kubernetes 部署 cloudbeaver

---
apiVersion: apps/v1
kind: Deployment
metadata:
  annotations: {}
  labels:
    k8s.4wei.cn/name: cloudbeaver
  name: cloudbeaver
spec:
  progressDeadlineSeconds: 600
  replicas: 1
  revisionHistoryLimit: 3
  selector:
    matchLabels:
      k8s.4wei.cn/name: cloudbeaver
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      creationTimestamp: null
      labels:
        k8s.4wei.cn/name: cloudbeaver
    spec:
      containers:
        - image: 'dbeaver/cloudbeaver:22.1.4'
          imagePullPolicy: Always
          name: cloudbeaver
          resources: {}
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      terminationGracePeriodSeconds: 30
status: {}

---
apiVersion: v1
kind: Service
metadata:
  annotations: {}
  labels:
    name: cloudbeaver
  name: cloudbeaver
spec:
  ports:
    - name: e8swey
      port: 8978
      protocol: TCP
      targetPort: 8978
  selector:
    k8s.4wei.cn/name: cloudbeaver
  sessionAffinity: None
  type: ClusterIP
status:
  loadBalancer: {}