Last active
November 11, 2020 20:17
-
-
Save caulagi/94d082100c307e1b39128ca82ac43a17 to your computer and use it in GitHub Desktop.
Capg imagepullpolicy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ kubectl -n capg-system get pod capg-controller-manager-68869d55b7-nkhjm -o yaml | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
creationTimestamp: "2020-11-11T19:41:14Z" | |
generateName: capg-controller-manager-68869d55b7- | |
labels: | |
cluster.x-k8s.io/provider: infrastructure-gcp | |
control-plane: capg-controller-manager | |
pod-template-hash: 68869d55b7 | |
managedFields: | |
- apiVersion: v1 | |
fieldsType: FieldsV1 | |
fieldsV1: | |
f:metadata: | |
f:generateName: {} | |
f:labels: | |
.: {} | |
f:cluster.x-k8s.io/provider: {} | |
f:control-plane: {} | |
f:pod-template-hash: {} | |
f:ownerReferences: | |
.: {} | |
k:{"uid":"ef5ca5c3-86c3-46ab-a751-341f036631a5"}: | |
.: {} | |
f:apiVersion: {} | |
f:blockOwnerDeletion: {} | |
f:controller: {} | |
f:kind: {} | |
f:name: {} | |
f:uid: {} | |
f:spec: | |
f:containers: | |
k:{"name":"kube-rbac-proxy"}: | |
.: {} | |
f:args: {} | |
f:image: {} | |
f:imagePullPolicy: {} | |
f:name: {} | |
f:ports: | |
.: {} | |
k:{"containerPort":8443,"protocol":"TCP"}: | |
.: {} | |
f:containerPort: {} | |
f:name: {} | |
f:protocol: {} | |
f:resources: {} | |
f:terminationMessagePath: {} | |
f:terminationMessagePolicy: {} | |
k:{"name":"manager"}: | |
.: {} | |
f:args: {} | |
f:env: | |
.: {} | |
k:{"name":"GOOGLE_APPLICATION_CREDENTIALS"}: | |
.: {} | |
f:name: {} | |
f:value: {} | |
f:image: {} | |
f:imagePullPolicy: {} | |
f:livenessProbe: | |
.: {} | |
f:failureThreshold: {} | |
f:httpGet: | |
.: {} | |
f:path: {} | |
f:port: {} | |
f:scheme: {} | |
f:periodSeconds: {} | |
f:successThreshold: {} | |
f:timeoutSeconds: {} | |
f:name: {} | |
f:ports: | |
.: {} | |
k:{"containerPort":9440,"protocol":"TCP"}: | |
.: {} | |
f:containerPort: {} | |
f:name: {} | |
f:protocol: {} | |
f:readinessProbe: | |
.: {} | |
f:failureThreshold: {} | |
f:httpGet: | |
.: {} | |
f:path: {} | |
f:port: {} | |
f:scheme: {} | |
f:periodSeconds: {} | |
f:successThreshold: {} | |
f:timeoutSeconds: {} | |
f:resources: {} | |
f:terminationMessagePath: {} | |
f:terminationMessagePolicy: {} | |
f:volumeMounts: | |
.: {} | |
k:{"mountPath":"/home/.gcp"}: | |
.: {} | |
f:mountPath: {} | |
f:name: {} | |
f:dnsPolicy: {} | |
f:enableServiceLinks: {} | |
f:restartPolicy: {} | |
f:schedulerName: {} | |
f:securityContext: {} | |
f:terminationGracePeriodSeconds: {} | |
f:tolerations: {} | |
f:volumes: | |
.: {} | |
k:{"name":"credentials"}: | |
.: {} | |
f:name: {} | |
f:secret: | |
.: {} | |
f:defaultMode: {} | |
f:secretName: {} | |
manager: kube-controller-manager | |
operation: Update | |
time: "2020-11-11T19:41:14Z" | |
- apiVersion: v1 | |
fieldsType: FieldsV1 | |
fieldsV1: | |
f:status: | |
f:conditions: | |
k:{"type":"ContainersReady"}: | |
.: {} | |
f:lastProbeTime: {} | |
f:lastTransitionTime: {} | |
f:message: {} | |
f:reason: {} | |
f:status: {} | |
f:type: {} | |
k:{"type":"Initialized"}: | |
.: {} | |
f:lastProbeTime: {} | |
f:lastTransitionTime: {} | |
f:status: {} | |
f:type: {} | |
k:{"type":"Ready"}: | |
.: {} | |
f:lastProbeTime: {} | |
f:lastTransitionTime: {} | |
f:message: {} | |
f:reason: {} | |
f:status: {} | |
f:type: {} | |
f:containerStatuses: {} | |
f:hostIP: {} | |
f:podIP: {} | |
f:podIPs: | |
.: {} | |
k:{"ip":"10.244.0.14"}: | |
.: {} | |
f:ip: {} | |
f:startTime: {} | |
manager: kubelet | |
operation: Update | |
time: "2020-11-11T20:13:28Z" | |
name: capg-controller-manager-68869d55b7-nkhjm | |
namespace: capg-system | |
ownerReferences: | |
- apiVersion: apps/v1 | |
blockOwnerDeletion: true | |
controller: true | |
kind: ReplicaSet | |
name: capg-controller-manager-68869d55b7 | |
uid: ef5ca5c3-86c3-46ab-a751-341f036631a5 | |
resourceVersion: "11448" | |
selfLink: /api/v1/namespaces/capg-system/pods/capg-controller-manager-68869d55b7-nkhjm | |
uid: 8b92c6d9-e4d6-4a49-bd04-05ef5eeaa426 | |
spec: | |
containers: | |
- args: | |
- --secure-listen-address=0.0.0.0:8443 | |
- --upstream=http://127.0.0.1:8080/ | |
- --logtostderr=true | |
- --v=10 | |
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.4.1 | |
imagePullPolicy: IfNotPresent | |
name: kube-rbac-proxy | |
ports: | |
- containerPort: 8443 | |
name: https | |
protocol: TCP | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount | |
name: default-token-wz6lj | |
readOnly: true | |
- args: | |
- --metrics-addr=127.0.0.1:8080 | |
- --enable-leader-election | |
env: | |
- name: GOOGLE_APPLICATION_CREDENTIALS | |
value: /home/.gcp/credentials.json | |
image: gcr.io/pradip-lab-288312/cluster-api-gcp-controller-amd64:dev | |
imagePullPolicy: Always | |
livenessProbe: | |
failureThreshold: 3 | |
httpGet: | |
path: /healthz | |
port: healthz | |
scheme: HTTP | |
periodSeconds: 10 | |
successThreshold: 1 | |
timeoutSeconds: 1 | |
name: manager | |
ports: | |
- containerPort: 9440 | |
name: healthz | |
protocol: TCP | |
readinessProbe: | |
failureThreshold: 3 | |
httpGet: | |
path: /readyz | |
port: healthz | |
scheme: HTTP | |
periodSeconds: 10 | |
successThreshold: 1 | |
timeoutSeconds: 1 | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /home/.gcp | |
name: credentials | |
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount | |
name: default-token-wz6lj | |
readOnly: true | |
dnsPolicy: ClusterFirst | |
enableServiceLinks: true | |
nodeName: clusterapi-control-plane | |
preemptionPolicy: PreemptLowerPriority | |
priority: 0 | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: default | |
serviceAccountName: default | |
terminationGracePeriodSeconds: 10 | |
tolerations: | |
- effect: NoSchedule | |
key: node-role.kubernetes.io/master | |
- effect: NoExecute | |
key: node.kubernetes.io/not-ready | |
operator: Exists | |
tolerationSeconds: 300 | |
- effect: NoExecute | |
key: node.kubernetes.io/unreachable | |
operator: Exists | |
tolerationSeconds: 300 | |
volumes: | |
- name: credentials | |
secret: | |
defaultMode: 420 | |
secretName: capg-manager-bootstrap-credentials | |
- name: default-token-wz6lj | |
secret: | |
defaultMode: 420 | |
secretName: default-token-wz6lj |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment