Skip to content

Instantly share code, notes, and snippets.

@richm
Created March 29, 2019 00:00
Show Gist options
  • Save richm/b8c09b80e5149332b0bc6975d46a27a7 to your computer and use it in GitHub Desktop.
Save richm/b8c09b80e5149332b0bc6975d46a27a7 to your computer and use it in GitHub Desktop.
$ oc -n openshift-marketplace get pods cluster-logging-66846d4f96-qhpqz -o yaml
apiVersion: v1
kind: Pod
metadata:
annotations:
k8s.v1.cni.cncf.io/networks-status: |-
[{
"name": "openshift-sdn",
"interface": "eth0",
"ips": [
"10.128.2.18"
],
"default": true,
"dns": {}
}]
openshift.io/scc: restricted
creationTimestamp: 2019-03-28T23:50:44Z
generateName: cluster-logging-66846d4f96-
labels:
marketplace.catalogSourceConfig: cluster-logging
pod-template-hash: 66846d4f96
name: cluster-logging-66846d4f96-qhpqz
namespace: openshift-marketplace
ownerReferences:
- apiVersion: apps/v1
blockOwnerDeletion: true
controller: true
kind: ReplicaSet
name: cluster-logging-66846d4f96
uid: 4d2fefdd-51b4-11e9-98a2-0a1718b85456
resourceVersion: "60535"
selfLink: /api/v1/namespaces/openshift-marketplace/pods/cluster-logging-66846d4f96-qhpqz
uid: 4d3278ff-51b4-11e9-98a2-0a1718b85456
spec:
containers:
- command:
- appregistry-server
- --registry=https://quay.io/cnr|community-operators
- -o
- cluster-logging
image: registry.svc.ci.openshift.org/openshift/origin-v4.0-2019-03-28-204920@sha256:4e8b8956db6346f43b2a9af93587c805de697c9064b558cc0ef0894fc46932e5
imagePullPolicy: IfNotPresent
livenessProbe:
exec:
command:
- grpc_health_probe
- -addr=localhost:50051
failureThreshold: 30
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
name: cluster-logging
ports:
- containerPort: 50051
name: grpc
protocol: TCP
readinessProbe:
exec:
command:
- grpc_health_probe
- -addr=localhost:50051
failureThreshold: 30
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources: {}
securityContext:
capabilities:
drop:
- KILL
- MKNOD
- SETGID
- SETUID
procMount: Default
runAsUser: 1000280000
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: default-token-cjgzw
readOnly: true
dnsPolicy: ClusterFirst
imagePullSecrets:
- name: default-dockercfg-29gl6
nodeName: ip-10-0-141-197.us-west-2.compute.internal
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
fsGroup: 1000280000
seLinuxOptions:
level: s0:c17,c4
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 30
tolerations:
- 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: default-token-cjgzw
secret:
defaultMode: 420
secretName: default-token-cjgzw
status:
conditions:
- lastProbeTime: null
lastTransitionTime: 2019-03-28T23:50:44Z
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: 2019-03-28T23:50:57Z
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: 2019-03-28T23:50:57Z
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: 2019-03-28T23:50:44Z
status: "True"
type: PodScheduled
containerStatuses:
- containerID: cri-o://12b61c87cf6b43ab9edaed4550fc54daa460754001b4b6d5ac5d0c206bfdd163
image: registry.svc.ci.openshift.org/openshift/origin-v4.0-2019-03-28-204920@sha256:4e8b8956db6346f43b2a9af93587c805de697c9064b558cc0ef0894fc46932e5
imageID: registry.svc.ci.openshift.org/openshift/origin-v4.0-2019-03-28-204920@sha256:4e8b8956db6346f43b2a9af93587c805de697c9064b558cc0ef0894fc46932e5
lastState: {}
name: cluster-logging
ready: true
restartCount: 0
state:
running:
startedAt: 2019-03-28T23:50:51Z
hostIP: 10.0.141.197
phase: Running
podIP: 10.128.2.18
qosClass: BestEffort
startTime: 2019-03-28T23:50:44Z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment