Skip to content

Instantly share code, notes, and snippets.

@isutton
Last active February 12, 2019 15:47
Show Gist options
  • Save isutton/6e5e1d25c3361c416261e336e0809971 to your computer and use it in GitHub Desktop.
Save isutton/6e5e1d25c3361c416261e336e0809971 to your computer and use it in GitHub Desktop.
apiVersion: shipper.booking.com/v1alpha1
kind: CapacityTarget
metadata:
creationTimestamp: 2019-02-12T15:43:39Z
generation: 1
labels:
shipper-app: reviews-api
shipper-release: reviews-api-fba08f42-0
shipper-release-hash: fba08f42
name: reviews-api-fba08f42-0
namespace: default
ownerReferences:
- apiVersion: shipper.booking.com/v1alpha1
kind: Release
name: reviews-api-fba08f42-0
uid: f76737d6-2edc-11e9-ad89-204747e7fc3a
resourceVersion: "1789674"
selfLink: /apis/shipper.booking.com/v1alpha1/namespaces/default/capacitytargets/reviews-api-fba08f42-0
uid: f76df70c-2edc-11e9-ad89-204747e7fc3a
spec:
clusters:
- name: microk8s
percent: 100
totalReplicaCount: 5
status:
clusters:
- achievedPercent: 20
availableReplicas: 1
conditions:
- lastTransitionTime: 2019-02-12T15:43:51Z
status: "True"
type: Operational
- lastTransitionTime: 2019-02-12T15:44:20Z
message: there are 4 sad pods
reason: PodsNotReady
status: "False"
type: Ready
name: microk8s
reports:
- breakdown:
- containers:
- name: nginx
states:
- count: 1
example:
pod: reviews-api-fba08f42-0-nginx-7f9d5c8f88-l29xd
type: Running
count: 1
status: "True"
type: ContainersReady
- containers:
- name: nginx
states:
- count: 4
example:
pod: reviews-api-fba08f42-0-nginx-7f9d5c8f88-4xnt4
reason: ContainerCreating
type: Waiting
count: 4
reason: ContainersNotReady
status: "False"
type: ContainersReady
- containers:
- name: nginx
states:
- count: 1
example:
pod: reviews-api-fba08f42-0-nginx-7f9d5c8f88-l29xd
type: Running
- count: 4
example:
pod: reviews-api-fba08f42-0-nginx-7f9d5c8f88-4xnt4
reason: ContainerCreating
type: Waiting
count: 5
status: "True"
type: Initialized
- containers:
- name: nginx
states:
- count: 1
example:
pod: reviews-api-fba08f42-0-nginx-7f9d5c8f88-l29xd
type: Running
- count: 4
example:
pod: reviews-api-fba08f42-0-nginx-7f9d5c8f88-4xnt4
reason: ContainerCreating
type: Waiting
count: 5
status: "True"
type: PodScheduled
- containers:
- name: nginx
states:
- count: 1
example:
pod: reviews-api-fba08f42-0-nginx-7f9d5c8f88-l29xd
type: Running
count: 1
status: "True"
type: Ready
- containers:
- name: nginx
states:
- count: 4
example:
pod: reviews-api-fba08f42-0-nginx-7f9d5c8f88-4xnt4
reason: ContainerCreating
type: Waiting
count: 4
reason: ContainersNotReady
status: "False"
type: Ready
owner:
name: reviews-api-fba08f42-0-nginx
sadPods:
- condition:
lastProbeTime: null
lastTransitionTime: 2019-02-12T15:44:20Z
status: "True"
type: PodScheduled
containers:
- image: nginx:stable
imageID: ""
lastState: {}
name: nginx
ready: false
restartCount: 0
state:
waiting:
reason: ContainerCreating
initContainers: null
name: reviews-api-fba08f42-0-nginx-7f9d5c8f88-4xnt4
- condition:
lastProbeTime: null
lastTransitionTime: 2019-02-12T15:44:20Z
status: "True"
type: PodScheduled
containers:
- image: nginx:stable
imageID: ""
lastState: {}
name: nginx
ready: false
restartCount: 0
state:
waiting:
reason: ContainerCreating
initContainers: null
name: reviews-api-fba08f42-0-nginx-7f9d5c8f88-7p4dx
- condition:
lastProbeTime: null
lastTransitionTime: 2019-02-12T15:44:20Z
status: "True"
type: PodScheduled
containers:
- image: nginx:stable
imageID: ""
lastState: {}
name: nginx
ready: false
restartCount: 0
state:
waiting:
reason: ContainerCreating
initContainers: null
name: reviews-api-fba08f42-0-nginx-7f9d5c8f88-8wfbt
- condition:
lastProbeTime: null
lastTransitionTime: 2019-02-12T15:44:20Z
status: "True"
type: PodScheduled
containers:
- image: nginx:stable
imageID: ""
lastState: {}
name: nginx
ready: false
restartCount: 0
state:
waiting:
reason: ContainerCreating
initContainers: null
name: reviews-api-fba08f42-0-nginx-7f9d5c8f88-nf6lc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment