Skip to content

Instantly share code, notes, and snippets.

@bacongobbler
Created September 12, 2016 16:44
Show Gist options
  • Save bacongobbler/5464eec6e8d5e799945528f5e0b4a362 to your computer and use it in GitHub Desktop.
Save bacongobbler/5464eec6e8d5e799945528f5e0b4a362 to your computer and use it in GitHub Desktop.
apiVersion: v1
items:
- apiVersion: v1
kind: Pod
metadata:
annotations:
kubernetes.io/created-by: |
{"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicationController","namespace":"kube-system","name":"l7-default-backend-v1.0","uid":"0b581b31-7905-11e6-be60-42010a800126","apiVersion":"v1","resourceVersion":"68"}}
creationTimestamp: 2016-09-12T16:22:05Z
generateName: l7-default-backend-v1.0-
labels:
k8s-app: glbc
kubernetes.io/cluster-service: "true"
name: glbc
version: v1.0
name: l7-default-backend-v1.0-frjet
namespace: kube-system
resourceVersion: "115"
selfLink: /api/v1/namespaces/kube-system/pods/l7-default-backend-v1.0-frjet
uid: 0b6aaff0-7905-11e6-be60-42010a800126
spec:
containers:
- image: gcr.io/google_containers/defaultbackend:1.0
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
httpGet:
path: /healthz
port: 8080
scheme: HTTP
initialDelaySeconds: 30
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
name: default-http-backend
ports:
- containerPort: 8080
protocol: TCP
resources:
limits:
cpu: 10m
memory: 20Mi
requests:
cpu: 10m
memory: 20Mi
terminationMessagePath: /dev/termination-log
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: default-token-ymi40
readOnly: true
dnsPolicy: ClusterFirst
nodeName: gke-bacongobbler-gke-default-pool-8aaea64d-n5h5
restartPolicy: Always
securityContext: {}
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 30
volumes:
- name: default-token-ymi40
secret:
secretName: default-token-ymi40
status:
conditions:
- lastProbeTime: null
lastTransitionTime: 2016-09-12T16:22:05Z
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: 2016-09-12T16:22:09Z
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: 2016-09-12T16:22:05Z
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://5dfc47a8492d8773f0d1a00685b5a25f7512ad092bce1b12a53b6047e7a50e6b
image: gcr.io/google_containers/defaultbackend:1.0
imageID: docker://sha256:279ab580ac70642e42b993224984632bd81b5e4d09b951dd5dd62003abcd290a
lastState: {}
name: default-http-backend
ready: true
restartCount: 0
state:
running:
startedAt: 2016-09-12T16:22:09Z
hostIP: 10.240.0.2
phase: Running
podIP: 10.76.0.3
startTime: 2016-09-12T16:22:05Z
kind: List
metadata: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment