~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/socialweb-computer-console

console.socialweb.computer: kcp, kubectl and ssh compiled to wasm in a browser tab with a terminal; a kcp fork

0
0
main
67 lines · 1.7 KB Raw History
apiVersion: druid.gardener.cloud/v1alpha1
kind: Etcd
metadata:
  name: root
  namespace: kcp-vespucci
  labels:
    app: etcd-statefulset
    role: root
spec:
  replicas: 3

  etcd:
    metrics: basic
    defragmentationSchedule: "0 */24 * * *"
    resources:
      limits: { cpu: 500m, memory: 1Gi }
      requests: { cpu: 100m, memory: 200Mi }
    clientPort: 2379
    serverPort: 2380
    quota: 8Gi

    # configure the certificates we just created

    clientUrlTls:
      tlsCASecretRef:     { name: "etcd-ca-tls" }
      serverTLSSecretRef: { name: "etcd-server-tls" }
      clientTLSSecretRef: { name: "etcd-client-tls" }

    peerUrlTls:
      tlsCASecretRef:     { name: "etcd-peer-ca-tls" }
      serverTLSSecretRef: { name: "etcd-peer-tls" }
      clientTLSSecretRef: { name: "etcd-peer-tls" }

  backup:
    port: 8080
    fullSnapshotSchedule: "0 */24 * * *"
    resources:
      limits: { cpu: 200m, memory: 1Gi }
      requests: { cpu: 23m, memory: 128Mi }
    garbageCollectionPolicy: Exponential
    garbageCollectionPeriod: 43200s
    deltaSnapshotPeriod: 300s
    deltaSnapshotMemoryLimit: 1Gi
    compression:
      enabled: false
      policy: "gzip"
    leaderElection:
      reelectionPeriod: 5s
      etcdConnectionTimeout: 5s

    # configure the certificates we just created

    tls:
      tlsCASecretRef:     { name: "etcd-ca-tls" }
      serverTLSSecretRef: { name: "etcd-backup-restore-server-tls" }
      clientTLSSecretRef: { name: "etcd-backup-restore-client-tls" }

  sharedConfig:
    autoCompactionMode: periodic
    autoCompactionRetention: "30m"

  annotations:
    app: etcd-statefulset
    role: root
  labels:
    app: etcd-statefulset
    role: root