View hello.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
print "hello world" |
View stress.test.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spec: | |
containers: | |
- image: vish/stress | |
imagePullPolicy: Always | |
name: stress-test | |
resources: | |
limits: | |
cpu: "1" | |
memory: "4Gi" | |
requests: |
View nginx_redirect.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name www.XXXX.com; | |
return 301 https://www.YYYY.com$request_uri; | |
} |
View limit_range.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: LimitRange | |
metadata: | |
name: low-usage-limit-range | |
spec: | |
limits: | |
- default: | |
cpu: 1 | |
memory: 500Mi | |
defaultRequest: |
View stress-test-limited-58b76c667f-ssthq.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
View kubernetes-strace-eo.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openat(AT_FDCWD, "/home/vikki/.kube/cache/discovery/160.0.0.1_6443/autoscaling/v2beta1/serverresources.json", O_RDONLY|O_CLOEXEC) = 5 | |
openat(AT_FDCWD, "/home/vikki/.kube/cache/discovery/160.0.0.1_6443/batch/v1/serverresources.json.987875345", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0600) = -1 EACCES (Permission denied) | |
openat(AT_FDCWD, "/home/vikki/.kube/cache/discovery/160.0.0.1_6443/batch/v1beta1/serverresources.json", O_RDONLY|O_CLOEXEC) = 5 | |
openat(AT_FDCWD, "/home/vikki/.kube/cache/discovery/160.0.0.1_6443/policy/v1beta1/serverresources.json.834786845", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0600) = -1 EACCES (Permission denied) | |
openat(AT_FDCWD, "/home/vikki/.kube/cache/discovery/160.0.0.1_6443/rbac.authorization.k8s.io/v1/serverresources.json", O_RDONLY|O_CLOEXEC) = 5 | |
openat(AT_FDCWD, "/home/vikki/.kube/cache/discovery/160.0.0.1_6443/admissionregistration.k8s.io/v1beta1/serverresources.json.571841542", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0600) = -1 EACCES (Permission denied) | |
openat(AT_FDCWD, "/home/vikki/.kube/cache/dis |
View replicate_set.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: ReplicaSet | |
metadata: | |
name: replicate-set-vikki | |
spec: | |
replicas: 2 | |
template: | |
metadata: | |
labels: | |
system: ReplicaOne |
View replicate-set-vikki-2nkhr.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Please edit the object below. Lines beginning with a '#' will be ignored, | |
# and an empty file will abort the edit. If an error occurs while saving this file will be | |
# reopened with the relevant failures. | |
# | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
creationTimestamp: 2018-09-29T07:38:40Z | |
generateName: replicate-set-vikki- | |
labels: |
View daemon_set.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: DaemonSet | |
metadata: | |
name: daemon-set-vikki | |
spec: | |
template: | |
metadata: | |
labels: | |
system: DaemonSetOne | |
spec: |
View daemon-set-vikki-roll-update.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Please edit the object below. Lines beginning with a '#' will be ignored, | |
# and an empty file will abort the edit. If an error occurs while saving this file will be | |
# reopened with the relevant failures. | |
# | |
apiVersion: extensions/v1beta1 | |
kind: DaemonSet | |
metadata: | |
creationTimestamp: 2018-09-29T13:04:57Z | |
generation: 2 | |
labels: |
OlderNewer