mocart2

kiam_agent_config

Aug 11th, 2021
1,516
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.33 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-agent-
  10.   labels:
  11.     app: kiam
  12.     component: agent
  13.     controller-revision-hash: 767cd4c6bb
  14.     pod-template-generation: "1"
  15.     release: kiam
  16.   name: kiam-agent-h8zxd
  17.   namespace: kube-system
  18.   ownerReferences:
  19.   - apiVersion: apps/v1
  20.     blockOwnerDeletion: true
  21.     controller: true
  22.     kind: DaemonSet
  23.     name: kiam-agent
  24.     uid: 862fc67c-de84-4bc3-b276-d3eb5d70a561
  25.   resourceVersion: "4322380"
  26.   uid: e9cd1f3d-5923-41b2-88c6-c4efe91be01a
  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-39-249.eu-central-1.compute.internal
  37.   containers:
  38.   - args:
  39.    - --iptables
  40.     - --no-iptables-remove
  41.     - --host-interface=cali+
  42.     - --json-log
  43.     - --level=debug
  44.     - --port=8181
  45.     - --cert=/etc/kiam/tls/cert
  46.     - --key=/etc/kiam/tls/key
  47.     - --ca=/etc/kiam/tls/ca
  48.     - --server-address=kiam-server:443
  49.     - --prometheus-listen-addr=0.0.0.0:9620
  50.     - --prometheus-sync-interval=5s
  51.     - --gateway-timeout-creation=1s
  52.     command:
  53.    - /kiam
  54.     - agent
  55.     env:
  56.     - name: HOST_IP
  57.       valueFrom:
  58.         fieldRef:
  59.           apiVersion: v1
  60.           fieldPath: status.podIP
  61.     image: quay.io/uswitch/kiam:v4.0
  62.     imagePullPolicy: IfNotPresent
  63.     livenessProbe:
  64.       failureThreshold: 3
  65.       httpGet:
  66.         path: /ping
  67.         port: 8181
  68.         scheme: HTTP
  69.       initialDelaySeconds: 3
  70.       periodSeconds: 3
  71.       successThreshold: 1
  72.       timeoutSeconds: 1
  73.     name: kiam-agent
  74.     resources: {}
  75.     securityContext:
  76.       capabilities:
  77.         add:
  78.        - NET_ADMIN
  79.     terminationMessagePath: /dev/termination-log
  80.     terminationMessagePolicy: File
  81.     volumeMounts:
  82.     - mountPath: /etc/kiam/tls
  83.       name: tls
  84.     - mountPath: /var/run/xtables.lock
  85.       name: xtables
  86.     - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
  87.       name: kube-api-access-8lrs4
  88.       readOnly: true
  89.   dnsPolicy: ClusterFirstWithHostNet
  90.   enableServiceLinks: true
  91.   hostNetwork: true
  92.   nodeName: ip-10-2-39-249.eu-central-1.compute.internal
  93.   nodeSelector:
  94.     kubernetes.io/role: node
  95.   preemptionPolicy: PreemptLowerPriority
  96.   priority: 0
  97.   restartPolicy: Always
  98.   schedulerName: default-scheduler
  99.   securityContext: {}
  100.   serviceAccount: kiam-agent
  101.   serviceAccountName: kiam-agent
  102.   terminationGracePeriodSeconds: 30
  103.   tolerations:
  104.   - effect: NoExecute
  105.     key: node.kubernetes.io/not-ready
  106.     operator: Exists
  107.   - effect: NoExecute
  108.     key: node.kubernetes.io/unreachable
  109.     operator: Exists
  110.   - effect: NoSchedule
  111.     key: node.kubernetes.io/disk-pressure
  112.     operator: Exists
  113.   - effect: NoSchedule
  114.     key: node.kubernetes.io/memory-pressure
  115.     operator: Exists
  116.   - effect: NoSchedule
  117.     key: node.kubernetes.io/pid-pressure
  118.     operator: Exists
  119.   - effect: NoSchedule
  120.     key: node.kubernetes.io/unschedulable
  121.     operator: Exists
  122.   - effect: NoSchedule
  123.     key: node.kubernetes.io/network-unavailable
  124.     operator: Exists
  125.   volumes:
  126.   - name: tls
  127.     secret:
  128.       defaultMode: 420
  129.       secretName: kiam-agent
  130.   - hostPath:
  131.       path: /run/xtables.lock
  132.       type: FileOrCreate
  133.     name: xtables
  134.   - name: kube-api-access-8lrs4
  135.     projected:
  136.       defaultMode: 420
  137.       sources:
  138.       - serviceAccountToken:
  139.           expirationSeconds: 3607
  140.           path: token
  141.       - configMap:
  142.           items:
  143.           - key: ca.crt
  144.             path: ca.crt
  145.           name: kube-root-ca.crt
  146.       - downwardAPI:
  147.           items:
  148.           - fieldRef:
  149.               apiVersion: v1
  150.               fieldPath: metadata.namespace
  151.             path: namespace
  152. status:
  153.   conditions:
  154.   - lastProbeTime: null
  155.     lastTransitionTime: "2021-08-08T23:54:42Z"
  156.     status: "True"
  157.     type: Initialized
  158.   - lastProbeTime: null
  159.     lastTransitionTime: "2021-08-08T23:55:07Z"
  160.     status: "True"
  161.     type: Ready
  162.   - lastProbeTime: null
  163.     lastTransitionTime: "2021-08-08T23:55:07Z"
  164.     status: "True"
  165.     type: ContainersReady
  166.   - lastProbeTime: null
  167.     lastTransitionTime: "2021-08-08T23:54:42Z"
  168.     status: "True"
  169.     type: PodScheduled
  170.   containerStatuses:
  171.   - containerID: containerd://13a9001711c428c9f40015e0b208247f50de09f7cfcc49b95edec76fbf2e4da5
  172.     image: quay.io/uswitch/kiam:v4.0
  173.     imageID: quay.io/uswitch/kiam@sha256:be3a5846922de2e4952a0cbcb36f1bc65002a41025d79d3cab164fc1499cad2c
  174.     lastState:
  175.       terminated:
  176.         containerID: containerd://60b1d9df3f115c056a94c99e9a04521cf29784fc7e62bc5bba5acb652f8b1794
  177.         exitCode: 1
  178.         finishedAt: "2021-08-08T23:54:48Z"
  179.         reason: Error
  180.         startedAt: "2021-08-08T23:54:47Z"
  181.     name: kiam-agent
  182.     ready: true
  183.     restartCount: 2
  184.     started: true
  185.     state:
  186.       running:
  187.         startedAt: "2021-08-08T23:55:06Z"
  188.   hostIP: 10.2.39.249
  189.   phase: Running
  190.   podIP: 10.2.39.249
  191.   podIPs:
  192.   - ip: 10.2.39.249
  193.   qosClass: BestEffort
  194.   startTime: "2021-08-08T23:54:42Z"
  195.  
Advertisement
Add Comment
Please, Sign In to add comment