mocart2

kiam_server_config

Aug 11th, 2021
1,519
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.54 KB | None | 0 0
  1. # Please edit the object below. Lines beginning with a '#' will be ignored,
  2. # and an empty file will abort the edit. If an error occurs while saving this file will be
  3. # reopened with the relevant failures.
  4. #
  5. apiVersion: v1
  6. kind: Pod
  7. metadata:
  8.   creationTimestamp: "2021-08-08T23:54:42Z"
  9.   generateName: kiam-server-
  10.   labels:
  11.     app: kiam
  12.     component: server
  13.     controller-revision-hash: 59c8c56998
  14.     pod-template-generation: "1"
  15.     release: kiam
  16.   name: kiam-server-jk6qc
  17.   namespace: kube-system
  18.   ownerReferences:
  19.   - apiVersion: apps/v1
  20.     blockOwnerDeletion: true
  21.     controller: true
  22.     kind: DaemonSet
  23.     name: kiam-server
  24.     uid: b9ef2646-43ca-45ec-83bd-c8a7e9f3d756
  25.   resourceVersion: "4322340"
  26.   uid: 79df87d1-c742-420d-93e5-87eb96ab1348
  27. spec:
  28.   affinity:
  29.     nodeAffinity:
  30.       requiredDuringSchedulingIgnoredDuringExecution:
  31.         nodeSelectorTerms:
  32.         - matchFields:
  33.           - key: metadata.name
  34.             operator: In
  35.             values:
  36.            - ip-10-2-35-1.eu-central-1.compute.internal
  37.   containers:
  38.   - args:
  39.    - --json-log
  40.     - --level=debug
  41.     - --bind=0.0.0.0:443
  42.     - --cert=/etc/kiam/tls/cert
  43.     - --key=/etc/kiam/tls/key
  44.     - --ca=/etc/kiam/tls/ca
  45.     - --role-base-arn-autodetect
  46.     - --assume-role-arn=arn:aws:iam::902636919442:role/kiam_moss
  47.     - --session-duration=15m
  48.     - --sync=1m
  49.     - --prometheus-listen-addr=0.0.0.0:9620
  50.     - --prometheus-sync-interval=5s
  51.     command:
  52.    - /kiam
  53.     - server
  54.     image: quay.io/uswitch/kiam:v4.0
  55.     imagePullPolicy: IfNotPresent
  56.     livenessProbe:
  57.       exec:
  58.         command:
  59.        - /kiam
  60.         - health
  61.         - --cert=/etc/kiam/tls/cert
  62.         - --key=/etc/kiam/tls/key
  63.         - --ca=/etc/kiam/tls/ca
  64.         - --server-address=127.0.0.1:443
  65.         - --server-address-refresh=2s
  66.         - --timeout=5s
  67.         - --gateway-timeout-creation=1s
  68.       failureThreshold: 3
  69.       initialDelaySeconds: 10
  70.       periodSeconds: 10
  71.       successThreshold: 1
  72.       timeoutSeconds: 10
  73.     name: kiam-server
  74.     readinessProbe:
  75.       exec:
  76.         command:
  77.        - /kiam
  78.         - health
  79.         - --cert=/etc/kiam/tls/cert
  80.         - --key=/etc/kiam/tls/key
  81.         - --ca=/etc/kiam/tls/ca
  82.         - --server-address=127.0.0.1:443
  83.         - --server-address-refresh=2s
  84.         - --timeout=5s
  85.         - --gateway-timeout-creation=1s
  86.       failureThreshold: 3
  87.       initialDelaySeconds: 3
  88.       periodSeconds: 10
  89.       successThreshold: 1
  90.       timeoutSeconds: 10
  91.     resources: {}
  92.     terminationMessagePath: /dev/termination-log
  93.     terminationMessagePolicy: File
  94.     volumeMounts:
  95.     - mountPath: /etc/kiam/tls
  96.       name: tls
  97.     - mountPath: /etc/ssl/certs
  98.       name: ssl-certs
  99.       readOnly: true
  100.     - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
  101.       name: kube-api-access-wt5m2
  102.       readOnly: true
  103.   dnsPolicy: ClusterFirst
  104.   enableServiceLinks: true
  105.   nodeName: ip-10-2-35-1.eu-central-1.compute.internal
  106.   nodeSelector:
  107.     kubernetes.io/role: master
  108.   preemptionPolicy: PreemptLowerPriority
  109.   priority: 0
  110.   restartPolicy: Always
  111.   schedulerName: default-scheduler
  112.   securityContext: {}
  113.   serviceAccount: kiam-server
  114.   serviceAccountName: kiam-server
  115.   terminationGracePeriodSeconds: 30
  116.   tolerations:
  117.   - effect: NoSchedule
  118.     key: node-role.kubernetes.io/master
  119.   - effect: NoExecute
  120.     key: node.kubernetes.io/not-ready
  121.     operator: Exists
  122.   - effect: NoExecute
  123.     key: node.kubernetes.io/unreachable
  124.     operator: Exists
  125.   - effect: NoSchedule
  126.     key: node.kubernetes.io/disk-pressure
  127.     operator: Exists
  128.   - effect: NoSchedule
  129.     key: node.kubernetes.io/memory-pressure
  130.     operator: Exists
  131.   - effect: NoSchedule
  132.     key: node.kubernetes.io/pid-pressure
  133.     operator: Exists
  134.   - effect: NoSchedule
  135.     key: node.kubernetes.io/unschedulable
  136.     operator: Exists
  137.   volumes:
  138.   - name: tls
  139.     secret:
  140.       defaultMode: 420
  141.       secretName: kiam-server
  142.   - hostPath:
  143.       path: /usr/share/ca-certificates
  144.       type: ""
  145.     name: ssl-certs
  146.   - name: kube-api-access-wt5m2
  147.     projected:
  148.       defaultMode: 420
  149.       sources:
  150.       - serviceAccountToken:
  151.           expirationSeconds: 3607
  152.           path: token
  153.       - configMap:
  154.           items:
  155.           - key: ca.crt
  156.             path: ca.crt
  157.           name: kube-root-ca.crt
  158.       - downwardAPI:
  159.           items:
  160.           - fieldRef:
  161.               apiVersion: v1
  162.               fieldPath: metadata.namespace
  163.             path: namespace
  164. status:
  165.   conditions:
  166.   - lastProbeTime: null
  167.     lastTransitionTime: "2021-08-08T23:54:42Z"
  168.     status: "True"
  169.     type: Initialized
  170.   - lastProbeTime: null
  171.     lastTransitionTime: "2021-08-08T23:54:52Z"
  172.     status: "True"
  173.     type: Ready
  174.   - lastProbeTime: null
  175.     lastTransitionTime: "2021-08-08T23:54:52Z"
  176.     status: "True"
  177.     type: ContainersReady
  178.   - lastProbeTime: null
  179.     lastTransitionTime: "2021-08-08T23:54:42Z"
  180.     status: "True"
  181.     type: PodScheduled
  182.   containerStatuses:
  183.   - containerID: containerd://37456edba4196ea666135621d79642659d50934ccb2e7e55f1f67055caba4a82
  184.     image: quay.io/uswitch/kiam:v4.0
  185.     imageID: quay.io/uswitch/kiam@sha256:be3a5846922de2e4952a0cbcb36f1bc65002a41025d79d3cab164fc1499cad2c
  186.     lastState: {}
  187.     name: kiam-server
  188.     ready: true
  189.     restartCount: 0
  190.     started: true
  191.     state:
  192.       running:
  193.         startedAt: "2021-08-08T23:54:43Z"
  194.   hostIP: 10.2.35.1
  195.   phase: Running
  196.   podIP: 100.96.0.12
  197.   podIPs:
  198.   - ip: 100.96.0.12
  199.   qosClass: BestEffort
  200.   startTime: "2021-08-08T23:54:42Z"
  201.  
Advertisement
Add Comment
Please, Sign In to add comment