Skip to content

Instantly share code, notes, and snippets.

@kabir
Created August 23, 2021 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kabir/a1e5302a70a700fef4483433c2e6d362 to your computer and use it in GitHub Desktop.
Save kabir/a1e5302a70a700fef4483433c2e6d362 to your computer and use it in GitHub Desktop.
kind: Pod
apiVersion: v1
metadata:
generateName: reactive-messaging-qs-7df768d8c4-
annotations:
k8s.v1.cni.cncf.io/network-status: |-
[{
"name": "",
"interface": "eth0",
"ips": [
"10.129.6.137"
],
"default": true,
"dns": {}
}]
k8s.v1.cni.cncf.io/networks-status: |-
[{
"name": "",
"interface": "eth0",
"ips": [
"10.129.6.137"
],
"default": true,
"dns": {}
}]
kubernetes.io/limit-ranger: >-
LimitRanger plugin set: cpu, memory request for container
reactive-messaging-qs; cpu, memory limit for container
reactive-messaging-qs
openshift.io/generated-by: OpenShiftNewApp
openshift.io/scc: restricted
selfLink: /api/v1/namespaces/kkhan1-dev/pods/reactive-messaging-qs-7df768d8c4-5hrp5
resourceVersion: '273845011'
name: reactive-messaging-qs-7df768d8c4-5hrp5
uid: f7d5d7b1-f88b-481c-ace7-73fb66cd0c14
creationTimestamp: '2021-08-23T14:42:46Z'
namespace: kkhan1-dev
ownerReferences:
- apiVersion: apps/v1
kind: ReplicaSet
name: reactive-messaging-qs-7df768d8c4
uid: 40212901-2671-4828-b532-47a419641cc0
controller: true
blockOwnerDeletion: true
labels:
deployment: reactive-messaging-qs
pod-template-hash: 7df768d8c4
spec:
restartPolicy: Always
serviceAccountName: default
imagePullSecrets:
- name: default-dockercfg-8lcbg
priority: -3
schedulerName: default-scheduler
enableServiceLinks: true
terminationGracePeriodSeconds: 30
preemptionPolicy: PreemptLowerPriority
nodeName: ip-10-0-133-90.ec2.internal
securityContext:
seLinuxOptions:
level: 's0:c104,c99'
fsGroup: 1010910000
containers:
- resources:
limits:
cpu: '1'
memory: 750Mi
requests:
cpu: 10m
memory: 64Mi
terminationMessagePath: /dev/termination-log
name: reactive-messaging-qs
env:
- name: QS_USE_RHOSAK
value: '1'
- name: SERVICE_BINDING_ROOT
value: /bindings
- name: SERVICE_BINDING_ROOT
value: /bindings
securityContext:
capabilities:
drop:
- KILL
- MKNOD
- SETGID
- SETUID
runAsUser: 1010910000
ports:
- containerPort: 8080
protocol: TCP
- containerPort: 8778
protocol: TCP
imagePullPolicy: IfNotPresent
volumeMounts:
- name: kafka-config
mountPath: /bindings/kafka-config
- name: default-token-jsd4b
readOnly: true
mountPath: /var/run/secrets/kubernetes.io/serviceaccount
terminationMessagePolicy: File
image: >-
image-registry.openshift-image-registry.svc:5000/kkhan1-dev/reactive-messaging-qs@sha256:400fbb42ec3420dfe42eceaf4692ade729ab0cb2413b44b9ef70d89a55556ab6
serviceAccount: default
volumes:
- name: kafka-config
secret:
secretName: kafka-config-ecbe66fb
defaultMode: 420
- name: default-token-jsd4b
secret:
secretName: default-token-jsd4b
defaultMode: 420
dnsPolicy: ClusterFirst
tolerations:
- key: node.kubernetes.io/not-ready
operator: Exists
effect: NoExecute
tolerationSeconds: 300
- key: node.kubernetes.io/unreachable
operator: Exists
effect: NoExecute
tolerationSeconds: 300
- key: node.kubernetes.io/memory-pressure
operator: Exists
effect: NoSchedule
priorityClassName: sandbox-users-pods
status:
phase: Running
conditions:
- type: Initialized
status: 'True'
lastProbeTime: null
lastTransitionTime: '2021-08-23T14:42:46Z'
- type: Ready
status: 'True'
lastProbeTime: null
lastTransitionTime: '2021-08-23T14:42:50Z'
- type: ContainersReady
status: 'True'
lastProbeTime: null
lastTransitionTime: '2021-08-23T14:42:50Z'
- type: PodScheduled
status: 'True'
lastProbeTime: null
lastTransitionTime: '2021-08-23T14:42:46Z'
hostIP: 10.0.133.90
podIP: 10.129.6.137
podIPs:
- ip: 10.129.6.137
startTime: '2021-08-23T14:42:46Z'
containerStatuses:
- restartCount: 0
started: true
ready: true
name: reactive-messaging-qs
state:
running:
startedAt: '2021-08-23T14:42:49Z'
imageID: >-
image-registry.openshift-image-registry.svc:5000/kkhan1-dev/reactive-messaging-qs@sha256:400fbb42ec3420dfe42eceaf4692ade729ab0cb2413b44b9ef70d89a55556ab6
image: >-
image-registry.openshift-image-registry.svc:5000/kkhan1-dev/reactive-messaging-qs@sha256:400fbb42ec3420dfe42eceaf4692ade729ab0cb2413b44b9ef70d89a55556ab6
lastState: {}
containerID: 'cri-o://1c42660159d7b2438f057d3c7164f33dbab86f0a105e4f9618bb56632af800b1'
qosClass: Burstable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment