...

Text file src/edge-infra.dev/pkg/sds/lib/etcd/server/testdata/etcd-without-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    image: us-east1-docker.pkg.dev/ret-edge-pltf-infra/thirdparty/registry.k8s.io/etcd:3.5.6-0
    36    imagePullPolicy: IfNotPresent
    37    livenessProbe:
    38      failureThreshold: 8
    39      httpGet:
    40        host: 127.0.0.1
    41        path: /health?exclude=NOSPACE&serializable=true
    42        port: 2381
    43        scheme: HTTP
    44      initialDelaySeconds: 10
    45      periodSeconds: 10
    46      timeoutSeconds: 15
    47    name: etcd
    48    resources:
    49      limits:
    50        cpu: 100m
    51        memory: 100Mi
    52      requests:
    53        cpu: 100m
    54        memory: 100Mi
    55    startupProbe:
    56      failureThreshold: 24
    57      httpGet:
    58        host: 127.0.0.1
    59        path: /health?serializable=false
    60        port: 2381
    61        scheme: HTTP
    62      initialDelaySeconds: 10
    63      periodSeconds: 10
    64      timeoutSeconds: 15
    65    volumeMounts:
    66    - mountPath: /var/lib/etcd
    67      name: etcd-data
    68    - mountPath: /etc/kubernetes/pki/etcd
    69      name: etcd-certs
    70  hostNetwork: true
    71  priorityClassName: system-node-critical
    72  securityContext:
    73    seccompProfile:
    74      type: RuntimeDefault
    75  volumes:
    76  - hostPath:
    77      path: /etc/kubernetes/pki/etcd
    78      type: DirectoryOrCreate
    79    name: etcd-certs
    80  - hostPath:
    81      path: /var/lib/etcd
    82      type: DirectoryOrCreate
    83    name: etcd-data
    84status: {}

View as plain text