...

Text file src/edge-infra.dev/pkg/sds/lib/etcd/server/testdata/etcd-with-fnc.yaml

Documentation: edge-infra.dev/pkg/sds/lib/etcd/server/testdata

     1apiVersion: v1
     2kind: Pod
     3metadata:
     4  annotations:
     5    kubeadm.kubernetes.io/etcd.advertise-client-urls: https://10.10.13.3:2379
     6  creationTimestamp: "1111-11-11T11:11:11Z"
     7  labels:
     8    component: etcd
     9    tier: control-plane
    10  name: etcd
    11  namespace: kube-system
    12spec:
    13  containers:
    14  - command:
    15    - etcd
    16    - --advertise-client-urls=https://10.10.13.3:2379
    17    - --cert-file=/etc/kubernetes/pki/etcd/server.crt
    18    - --client-cert-auth=true
    19    - --data-dir=/var/lib/etcd
    20    - --experimental-initial-corrupt-check=true
    21    - --experimental-watch-progress-notify-interval=5s
    22    - --initial-advertise-peer-urls=https://10.10.13.3:2380
    23    - --initial-cluster=s3-master-1=https://10.10.13.3:2380
    24    - --key-file=/etc/kubernetes/pki/etcd/server.key
    25    - --listen-client-urls=https://127.0.0.1:2379,https://10.10.13.3:2379
    26    - --listen-metrics-urls=http://127.0.0.1:2381
    27    - --listen-peer-urls=https://10.10.13.3:2380
    28    - --name=s3-master-1
    29    - --peer-cert-file=/etc/kubernetes/pki/etcd/peer.crt
    30    - --peer-client-cert-auth=true
    31    - --peer-key-file=/etc/kubernetes/pki/etcd/peer.key
    32    - --peer-trusted-ca-file=/etc/kubernetes/pki/etcd/ca.crt
    33    - --snapshot-count=10000
    34    - --trusted-ca-file=/etc/kubernetes/pki/etcd/ca.crt
    35    - --force-new-cluster=true
    36    image: us-east1-docker.pkg.dev/ret-edge-pltf-infra/thirdparty/registry.k8s.io/etcd:3.5.6-0
    37    imagePullPolicy: IfNotPresent
    38    livenessProbe:
    39      failureThreshold: 8
    40      httpGet:
    41        host: 127.0.0.1
    42        path: /health?exclude=NOSPACE&serializable=true
    43        port: 2381
    44        scheme: HTTP
    45      initialDelaySeconds: 10
    46      periodSeconds: 10
    47      timeoutSeconds: 15
    48    name: etcd
    49    resources:
    50      limits:
    51        cpu: 100m
    52        memory: 100Mi
    53      requests:
    54        cpu: 100m
    55        memory: 100Mi
    56    startupProbe:
    57      failureThreshold: 24
    58      httpGet:
    59        host: 127.0.0.1
    60        path: /health?serializable=false
    61        port: 2381
    62        scheme: HTTP
    63      initialDelaySeconds: 10
    64      periodSeconds: 10
    65      timeoutSeconds: 15
    66    volumeMounts:
    67    - mountPath: /var/lib/etcd
    68      name: etcd-data
    69    - mountPath: /etc/kubernetes/pki/etcd
    70      name: etcd-certs
    71  hostNetwork: true
    72  priorityClassName: system-node-critical
    73  securityContext:
    74    seccompProfile:
    75      type: RuntimeDefault
    76  volumes:
    77  - hostPath:
    78      path: /etc/kubernetes/pki/etcd
    79      type: DirectoryOrCreate
    80    name: etcd-certs
    81  - hostPath:
    82      path: /var/lib/etcd
    83      type: DirectoryOrCreate
    84    name: etcd-data
    85status: {}

View as plain text