Skip to content

Instantly share code, notes, and snippets.

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 vigneshragupathy/c59b6a45bacf3c75309e0164600f569d to your computer and use it in GitHub Desktop.
Save vigneshragupathy/c59b6a45bacf3c75309e0164600f569d to your computer and use it in GitHub Desktop.
vikki blog stress test yaml
apiVersion: v1
kind: Pod
metadata:
annotations:
kubernetes.io/limit-ranger: 'LimitRanger plugin set: cpu, memory request for container
stress-test-limited; cpu, memory limit for container stress-test-limited'
creationTimestamp: 2018-08-26T14:23:37Z
generateName: stress-test-limited-58b76c667f-
labels:
pod-template-hash: "1463272239"
run: stress-test-limited
name: stress-test-limited-58b76c667f-ssthq
namespace: low-usage-tier-1
ownerReferences:
- apiVersion: apps/v1
blockOwnerDeletion: true
controller: true
kind: ReplicaSet
name: stress-test-limited-58b76c667f
uid: 9f7fb3d3-a93b-11e8-89c5-080027165f06
resourceVersion: "6218"
selfLink: /api/v1/namespaces/low-usage-tier-1/pods/stress-test-limited-58b76c667f-ssthq
uid: 9f83c7cf-a93b-11e8-89c5-080027165f06
spec:
containers:
- image: vish/stress
imagePullPolicy: Always
name: stress-test-limited
resources:
limits:
cpu: "1"
memory: 500Mi
requests:
cpu: 500m
memory: 100Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: default-token-wlmtw
readOnly: true
dnsPolicy: ClusterFirst
nodeName: drona-child-3
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
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-wlmtw
secret:
defaultMode: 420
secretName: default-token-wlmtw
status:
conditions:
- lastProbeTime: null
lastTransitionTime: 2018-08-26T14:23:37Z
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: 2018-08-26T14:24:00Z
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: null
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: 2018-08-26T14:23:37Z
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://c4ac1e5b8a131f3925e980e550e810056f637169bdb6f717ee39ea8144e3ba0a
image: docker.io/vish/stress:latest
imageID: docker-pullable://docker.io/vish/stress@sha256:b6456a3df6db5e063e1783153627947484a3db387be99e49708c70a9a15e7177
lastState: {}
name: stress-test-limited
ready: true
restartCount: 0
state:
running:
startedAt: 2018-08-26T14:23:59Z
hostIP: 10.0.2.15
phase: Running
podIP: 40.168.1.5
qosClass: Burstable
startTime: 2018-08-26T14:23:37Z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment