From 2ae916a0ba0363c0381699c2c32b686180fbda08 Mon Sep 17 00:00:00 2001 From: Manjunath A Kumatagi Date: Sun, 22 Oct 2017 00:44:15 +0530 Subject: [PATCH] Delete unused yaml files --- .../coreos/cloud-configs/master.yaml | 142 ------------------ .../coreos/cloud-configs/node.yaml | 93 ------------ .../user-guide/configmap/command-pod.yaml | 21 --- .../user-guide/configmap/env-pod.yaml | 21 --- .../user-guide/configmap/redis/redis-pod.yaml | 30 ---- .../user-guide/configmap/volume-pod.yaml | 20 --- .../downward-api/volume/dapi-volume.yaml | 30 ---- .../environment-guide/backend-rc.yaml | 30 ---- .../environment-guide/backend-srv.yaml | 13 -- .../user-guide/environment-guide/show-rc.yaml | 32 ---- .../environment-guide/show-srv.yaml | 15 -- .../hpa-php-apache.yaml | 14 -- .../fixtures/doc-yaml/user-guide/ingress.yaml | 9 -- .../logging-demo/synthetic_0_25lps.yaml | 30 ---- .../logging-demo/synthetic_10lps.yaml | 30 ---- .../user-guide/new-nginx-deployment.yaml | 16 -- .../doc-yaml/user-guide/nginx-deployment.yaml | 16 -- .../user-guide/node-selection/pod.yaml | 13 -- .../simpletest/namespace.json | 10 -- .../persistent-volumes/simpletest/pod.yaml | 20 --- .../simpletest/service.json | 19 --- test/fixtures/doc-yaml/user-guide/pod.yaml | 12 -- .../user-guide/replicaset/frontend.yaml | 42 ------ .../walkthrough/pod-nginx-with-label.yaml | 12 -- .../user-guide/walkthrough/pod-nginx.yaml | 10 -- .../user-guide/walkthrough/pod-redis.yaml | 14 -- .../pod-with-http-healthcheck.yaml | 20 --- .../walkthrough/replication-controller.yaml | 24 --- .../user-guide/walkthrough/service.yaml | 16 -- 29 files changed, 774 deletions(-) delete mode 100644 test/fixtures/doc-yaml/getting-started-guides/coreos/cloud-configs/master.yaml delete mode 100644 test/fixtures/doc-yaml/getting-started-guides/coreos/cloud-configs/node.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/configmap/command-pod.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/configmap/env-pod.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/configmap/redis/redis-pod.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/configmap/volume-pod.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/downward-api/volume/dapi-volume.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/environment-guide/backend-rc.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/environment-guide/backend-srv.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/environment-guide/show-rc.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/environment-guide/show-srv.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/horizontal-pod-autoscaling/hpa-php-apache.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/ingress.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/logging-demo/synthetic_0_25lps.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/logging-demo/synthetic_10lps.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/new-nginx-deployment.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/nginx-deployment.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/node-selection/pod.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/persistent-volumes/simpletest/namespace.json delete mode 100644 test/fixtures/doc-yaml/user-guide/persistent-volumes/simpletest/pod.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/persistent-volumes/simpletest/service.json delete mode 100644 test/fixtures/doc-yaml/user-guide/pod.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/replicaset/frontend.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/walkthrough/pod-nginx-with-label.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/walkthrough/pod-nginx.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/walkthrough/pod-redis.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/walkthrough/pod-with-http-healthcheck.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/walkthrough/replication-controller.yaml delete mode 100644 test/fixtures/doc-yaml/user-guide/walkthrough/service.yaml diff --git a/test/fixtures/doc-yaml/getting-started-guides/coreos/cloud-configs/master.yaml b/test/fixtures/doc-yaml/getting-started-guides/coreos/cloud-configs/master.yaml deleted file mode 100644 index bc1ee220e5d..00000000000 --- a/test/fixtures/doc-yaml/getting-started-guides/coreos/cloud-configs/master.yaml +++ /dev/null @@ -1,142 +0,0 @@ -#cloud-config - ---- -write-files: - - path: /etc/conf.d/nfs - permissions: '0644' - content: | - OPTS_RPC_MOUNTD="" - - path: /opt/bin/wupiao - permissions: '0755' - content: | - #!/bin/bash - # [w]ait [u]ntil [p]ort [i]s [a]ctually [o]pen - [ -n "$1" ] && \ - until curl -o /dev/null -sIf http://${1}; do \ - sleep 1 && echo .; - done; - exit $? - -hostname: master -coreos: - etcd2: - name: master - listen-client-urls: http://0.0.0.0:2379,http://0.0.0.0:4001 - advertise-client-urls: http://$private_ipv4:2379,http://$private_ipv4:4001 - initial-cluster-token: k8s_etcd - listen-peer-urls: http://$private_ipv4:2380,http://$private_ipv4:7001 - initial-advertise-peer-urls: http://$private_ipv4:2380 - initial-cluster: master=http://$private_ipv4:2380 - initial-cluster-state: new - fleet: - metadata: "role=master" - units: - - name: etcd2.service - command: start - - name: generate-serviceaccount-key.service - command: start - content: | - [Unit] - Description=Generate service-account key file - - [Service] - ExecStartPre=-/usr/bin/mkdir -p /opt/bin - ExecStart=/bin/openssl genrsa -out /opt/bin/kube-serviceaccount.key 2048 2>/dev/null - RemainAfterExit=yes - Type=oneshot - - name: setup-network-environment.service - command: start - content: | - [Unit] - Description=Setup Network Environment - Documentation=https://github.com/kelseyhightower/setup-network-environment - Requires=network-online.target - After=network-online.target - - [Service] - ExecStartPre=-/usr/bin/mkdir -p /opt/bin - ExecStartPre=/usr/bin/curl -L -o /opt/bin/setup-network-environment -z /opt/bin/setup-network-environment https://github.com/kelseyhightower/setup-network-environment/releases/download/v1.0.0/setup-network-environment - ExecStartPre=/usr/bin/chmod +x /opt/bin/setup-network-environment - ExecStart=/opt/bin/setup-network-environment - RemainAfterExit=yes - Type=oneshot - - name: fleet.service - command: start - - name: flanneld.service - command: start - drop-ins: - - name: 50-network-config.conf - content: | - [Unit] - Requires=etcd2.service - [Service] - ExecStartPre=/usr/bin/etcdctl set /coreos.com/network/config '{"Network":"10.244.0.0/16", "Backend": {"Type": "vxlan"}}' - - name: docker.service - command: start - - name: kube-apiserver.service - command: start - content: | - [Unit] - Description=Kubernetes API Server - Documentation=https://github.com/kubernetes/kubernetes - Requires=setup-network-environment.service etcd2.service generate-serviceaccount-key.service - After=setup-network-environment.service etcd2.service generate-serviceaccount-key.service - - [Service] - EnvironmentFile=/etc/network-environment - ExecStartPre=-/usr/bin/mkdir -p /opt/bin - ExecStartPre=/usr/bin/curl -L -o /opt/bin/kube-apiserver -z /opt/bin/kube-apiserver https://storage.googleapis.com/kubernetes-release/release/v1.1.2/bin/linux/amd64/kube-apiserver - ExecStartPre=/usr/bin/chmod +x /opt/bin/kube-apiserver - ExecStartPre=/opt/bin/wupiao 127.0.0.1:2379/v2/machines - ExecStart=/opt/bin/kube-apiserver \ - --service-account-key-file=/opt/bin/kube-serviceaccount.key \ - --service-account-lookup=true \ - --admission-control=Initializers,NamespaceLifecycle,NamespaceAutoProvision,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota \ - --runtime-config=api/v1 \ - --allow-privileged=true \ - --insecure-bind-address=0.0.0.0 \ - --insecure-port=8080 \ - --kubelet-https=true \ - --secure-port=6443 \ - --service-cluster-ip-range=10.100.0.0/16 \ - --etcd-servers=http://127.0.0.1:2379 \ - --public-address-override=${DEFAULT_IPV4} \ - --logtostderr=true - Restart=always - RestartSec=10 - - name: kube-controller-manager.service - command: start - content: | - [Unit] - Description=Kubernetes Controller Manager - Documentation=https://github.com/kubernetes/kubernetes - Requires=kube-apiserver.service - After=kube-apiserver.service - - [Service] - ExecStartPre=/usr/bin/curl -L -o /opt/bin/kube-controller-manager -z /opt/bin/kube-controller-manager https://storage.googleapis.com/kubernetes-release/release/v1.1.2/bin/linux/amd64/kube-controller-manager - ExecStartPre=/usr/bin/chmod +x /opt/bin/kube-controller-manager - ExecStart=/opt/bin/kube-controller-manager \ - --service-account-private-key-file=/opt/bin/kube-serviceaccount.key \ - --master=127.0.0.1:8080 \ - --logtostderr=true - Restart=always - RestartSec=10 - - name: kube-scheduler.service - command: start - content: | - [Unit] - Description=Kubernetes Scheduler - Documentation=https://github.com/kubernetes/kubernetes - Requires=kube-apiserver.service - After=kube-apiserver.service - - [Service] - ExecStartPre=/usr/bin/curl -L -o /opt/bin/kube-scheduler -z /opt/bin/kube-scheduler https://storage.googleapis.com/kubernetes-release/release/v1.1.2/bin/linux/amd64/kube-scheduler - ExecStartPre=/usr/bin/chmod +x /opt/bin/kube-scheduler - ExecStart=/opt/bin/kube-scheduler --master=127.0.0.1:8080 - Restart=always - RestartSec=10 - update: - group: alpha - reboot-strategy: off diff --git a/test/fixtures/doc-yaml/getting-started-guides/coreos/cloud-configs/node.yaml b/test/fixtures/doc-yaml/getting-started-guides/coreos/cloud-configs/node.yaml deleted file mode 100644 index 503d67dd556..00000000000 --- a/test/fixtures/doc-yaml/getting-started-guides/coreos/cloud-configs/node.yaml +++ /dev/null @@ -1,93 +0,0 @@ -#cloud-config -write-files: - - path: /opt/bin/wupiao - permissions: '0755' - content: | - #!/bin/bash - # [w]ait [u]ntil [p]ort [i]s [a]ctually [o]pen - [ -n "$1" ] && [ -n "$2" ] && while ! curl --output /dev/null \ - --silent --head --fail \ - http://${1}:${2}; do sleep 1 && echo -n .; done; - exit $? -coreos: - etcd2: - listen-client-urls: http://0.0.0.0:2379,http://0.0.0.0:4001 - advertise-client-urls: http://0.0.0.0:2379,http://0.0.0.0:4001 - initial-cluster: master=http://:2380 - proxy: on - fleet: - metadata: "role=node" - units: - - name: etcd2.service - command: start - - name: fleet.service - command: start - - name: flanneld.service - command: start - - name: docker.service - command: start - - name: setup-network-environment.service - command: start - content: | - [Unit] - Description=Setup Network Environment - Documentation=https://github.com/kelseyhightower/setup-network-environment - Requires=network-online.target - After=network-online.target - - [Service] - ExecStartPre=-/usr/bin/mkdir -p /opt/bin - ExecStartPre=/usr/bin/curl -L -o /opt/bin/setup-network-environment -z /opt/bin/setup-network-environment https://github.com/kelseyhightower/setup-network-environment/releases/download/v1.0.0/setup-network-environment - ExecStartPre=/usr/bin/chmod +x /opt/bin/setup-network-environment - ExecStart=/opt/bin/setup-network-environment - RemainAfterExit=yes - Type=oneshot - - name: kube-proxy.service - command: start - content: | - [Unit] - Description=Kubernetes Proxy - Documentation=https://github.com/kubernetes/kubernetes - Requires=setup-network-environment.service - After=setup-network-environment.service - - [Service] - ExecStartPre=/usr/bin/curl -L -o /opt/bin/kube-proxy -z /opt/bin/kube-proxy https://storage.googleapis.com/kubernetes-release/release/v1.1.2/bin/linux/amd64/kube-proxy - ExecStartPre=/usr/bin/chmod +x /opt/bin/kube-proxy - # wait for kubernetes master to be up and ready - ExecStartPre=/opt/bin/wupiao 8080 - ExecStart=/opt/bin/kube-proxy \ - --master=:8080 \ - --logtostderr=true - Restart=always - RestartSec=10 - - name: kube-kubelet.service - command: start - content: | - [Unit] - Description=Kubernetes Kubelet - Documentation=https://github.com/kubernetes/kubernetes - Requires=setup-network-environment.service - After=setup-network-environment.service - - [Service] - EnvironmentFile=/etc/network-environment - ExecStartPre=/usr/bin/curl -L -o /opt/bin/kubelet -z /opt/bin/kubelet https://storage.googleapis.com/kubernetes-release/release/v1.1.2/bin/linux/amd64/kubelet - ExecStartPre=/usr/bin/chmod +x /opt/bin/kubelet - # wait for kubernetes master to be up and ready - ExecStartPre=/opt/bin/wupiao 8080 - ExecStart=/opt/bin/kubelet \ - --address=0.0.0.0 \ - --port=10250 \ - --hostname-override=${DEFAULT_IPV4} \ - --api-servers=:8080 \ - --allow-privileged=true \ - --logtostderr=true \ - --cadvisor-port=4194 \ - --healthz-bind-address=0.0.0.0 \ - --healthz-port=10248 - Restart=always - RestartSec=10 - update: - group: alpha - reboot-strategy: off diff --git a/test/fixtures/doc-yaml/user-guide/configmap/command-pod.yaml b/test/fixtures/doc-yaml/user-guide/configmap/command-pod.yaml deleted file mode 100644 index 444b4beb66b..00000000000 --- a/test/fixtures/doc-yaml/user-guide/configmap/command-pod.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: config-cmd-test-pod -spec: - containers: - - name: test-container - image: gcr.io/google_containers/busybox - command: [ "/bin/sh", "-c", "echo $(KUBE_CONFIG_1) $(KUBE_CONFIG_2)" ] - env: - - name: KUBE_CONFIG_1 - valueFrom: - configMapKeyRef: - name: test-configmap - key: data-1 - - name: KUBE_CONFIG_2 - valueFrom: - configMapKeyRef: - name: test-configmap - key: data-2 - restartPolicy: Never diff --git a/test/fixtures/doc-yaml/user-guide/configmap/env-pod.yaml b/test/fixtures/doc-yaml/user-guide/configmap/env-pod.yaml deleted file mode 100644 index fe0036e0b21..00000000000 --- a/test/fixtures/doc-yaml/user-guide/configmap/env-pod.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: config-env-test-pod -spec: - containers: - - name: test-container - image: gcr.io/google_containers/busybox - command: [ "/bin/sh", "-c", "env" ] - env: - - name: KUBE_CONFIG_1 - valueFrom: - configMapKeyRef: - name: test-configmap - key: data-1 - - name: KUBE_CONFIG_2 - valueFrom: - configMapKeyRef: - name: test-configmap - key: data-2 - restartPolicy: Never diff --git a/test/fixtures/doc-yaml/user-guide/configmap/redis/redis-pod.yaml b/test/fixtures/doc-yaml/user-guide/configmap/redis/redis-pod.yaml deleted file mode 100644 index 259dbf853aa..00000000000 --- a/test/fixtures/doc-yaml/user-guide/configmap/redis/redis-pod.yaml +++ /dev/null @@ -1,30 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: redis -spec: - containers: - - name: redis - image: kubernetes/redis:v1 - env: - - name: MASTER - value: "true" - ports: - - containerPort: 6379 - resources: - limits: - cpu: "0.1" - volumeMounts: - - mountPath: /redis-master-data - name: data - - mountPath: /redis-master - name: config - volumes: - - name: data - emptyDir: {} - - name: config - configMap: - name: example-redis-config - items: - - key: redis-config - path: redis.conf diff --git a/test/fixtures/doc-yaml/user-guide/configmap/volume-pod.yaml b/test/fixtures/doc-yaml/user-guide/configmap/volume-pod.yaml deleted file mode 100644 index c34332e9763..00000000000 --- a/test/fixtures/doc-yaml/user-guide/configmap/volume-pod.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: config-volume-test-pod -spec: - containers: - - name: test-container - image: gcr.io/google_containers/busybox - command: [ "/bin/sh", "-c", "cat /etc/config/path/to/special-key" ] - volumeMounts: - - name: config-volume - mountPath: /etc/config - volumes: - - name: config-volume - configMap: - name: test-configmap - items: - - key: data-1 - path: path/to/special-key - restartPolicy: Never \ No newline at end of file diff --git a/test/fixtures/doc-yaml/user-guide/downward-api/volume/dapi-volume.yaml b/test/fixtures/doc-yaml/user-guide/downward-api/volume/dapi-volume.yaml deleted file mode 100644 index be926498d19..00000000000 --- a/test/fixtures/doc-yaml/user-guide/downward-api/volume/dapi-volume.yaml +++ /dev/null @@ -1,30 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: kubernetes-downwardapi-volume-example - labels: - zone: us-est-coast - cluster: test-cluster1 - rack: rack-22 - annotations: - build: two - builder: john-doe -spec: - containers: - - name: client-container - image: gcr.io/google_containers/busybox - command: ["sh", "-c", "while true; do if [[ -e /etc/labels ]]; then cat /etc/labels; fi; if [[ -e /etc/annotations ]]; then cat /etc/annotations; fi; sleep 5; done"] - volumeMounts: - - name: podinfo - mountPath: /etc - readOnly: false - volumes: - - name: podinfo - downwardAPI: - items: - - path: "labels" - fieldRef: - fieldPath: metadata.labels - - path: "annotations" - fieldRef: - fieldPath: metadata.annotations diff --git a/test/fixtures/doc-yaml/user-guide/environment-guide/backend-rc.yaml b/test/fixtures/doc-yaml/user-guide/environment-guide/backend-rc.yaml deleted file mode 100644 index 6c57b95dac9..00000000000 --- a/test/fixtures/doc-yaml/user-guide/environment-guide/backend-rc.yaml +++ /dev/null @@ -1,30 +0,0 @@ ---- -apiVersion: v1 -kind: ReplicationController -metadata: - name: backend-rc - labels: - type: backend-type -spec: - replicas: 3 - template: - metadata: - labels: - type: backend-type - spec: - containers: - - name: backend-container - image: gcr.io/google-samples/env-backend:1.1 - imagePullPolicy: Always - ports: - - containerPort: 5000 - protocol: TCP - env: - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace diff --git a/test/fixtures/doc-yaml/user-guide/environment-guide/backend-srv.yaml b/test/fixtures/doc-yaml/user-guide/environment-guide/backend-srv.yaml deleted file mode 100644 index 7083b37bf88..00000000000 --- a/test/fixtures/doc-yaml/user-guide/environment-guide/backend-srv.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -apiVersion: v1 -kind: Service -metadata: - name: backend-srv - labels: - type: backend-type -spec: - ports: - - port: 5000 - protocol: TCP - selector: - type: backend-type diff --git a/test/fixtures/doc-yaml/user-guide/environment-guide/show-rc.yaml b/test/fixtures/doc-yaml/user-guide/environment-guide/show-rc.yaml deleted file mode 100644 index 4de94c06ca3..00000000000 --- a/test/fixtures/doc-yaml/user-guide/environment-guide/show-rc.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -apiVersion: v1 -kind: ReplicationController -metadata: - name: show-rc - labels: - type: show-type -spec: - replicas: 3 - template: - metadata: - labels: - type: show-type - spec: - containers: - - name: show-container - image: gcr.io/google-samples/env-show:1.1 - imagePullPolicy: Always - ports: - - containerPort: 8080 - protocol: TCP - env: - - name: USER_VAR - value: important information - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace diff --git a/test/fixtures/doc-yaml/user-guide/environment-guide/show-srv.yaml b/test/fixtures/doc-yaml/user-guide/environment-guide/show-srv.yaml deleted file mode 100644 index 25a2d7473e0..00000000000 --- a/test/fixtures/doc-yaml/user-guide/environment-guide/show-srv.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -apiVersion: v1 -kind: Service -metadata: - name: show-srv - labels: - type: show-type -spec: - type: LoadBalancer - ports: - - port: 80 - protocol: TCP - targetPort: 8080 - selector: - type: show-type diff --git a/test/fixtures/doc-yaml/user-guide/horizontal-pod-autoscaling/hpa-php-apache.yaml b/test/fixtures/doc-yaml/user-guide/horizontal-pod-autoscaling/hpa-php-apache.yaml deleted file mode 100644 index 8aa7804ca10..00000000000 --- a/test/fixtures/doc-yaml/user-guide/horizontal-pod-autoscaling/hpa-php-apache.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: extensions/v1beta1 -kind: HorizontalPodAutoscaler -metadata: - name: php-apache - namespace: default -spec: - scaleRef: - kind: ReplicationController - name: php-apache - subresource: scale - minReplicas: 1 - maxReplicas: 10 - cpuUtilization: - targetPercentage: 50 diff --git a/test/fixtures/doc-yaml/user-guide/ingress.yaml b/test/fixtures/doc-yaml/user-guide/ingress.yaml deleted file mode 100644 index 163c1d5b9d0..00000000000 --- a/test/fixtures/doc-yaml/user-guide/ingress.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: extensions/v1beta1 -kind: Ingress -metadata: - name: test-ingress -spec: - backend: - serviceName: testsvc - servicePort: 80 - diff --git a/test/fixtures/doc-yaml/user-guide/logging-demo/synthetic_0_25lps.yaml b/test/fixtures/doc-yaml/user-guide/logging-demo/synthetic_0_25lps.yaml deleted file mode 100644 index 93516706c05..00000000000 --- a/test/fixtures/doc-yaml/user-guide/logging-demo/synthetic_0_25lps.yaml +++ /dev/null @@ -1,30 +0,0 @@ -# This pod specification creates an instance of a synthetic logger. The logger -# is simply a program that writes out the hostname of the pod, a count which increments -# by one on each iteration (to help notice missing log enteries) and the date using -# a long format (RFC-3339) to nano-second precision. This program logs at a frequency -# of 0.25 lines per second. The shellscript program is given directly to bash as -c argument -# and could have been written out as: -# i="0" -# while true -# do -# echo -n "`hostname`: $i: " -# date --rfc-3339 ns -# sleep 4 -# i=$[$i+1] -# done -apiVersion: v1 -kind: Pod -metadata: - labels: - name: synth-logging-source - name: synthetic-logger-0.25lps-pod -spec: - containers: - - name: synth-lgr - image: ubuntu:14.04 - args: - - bash - - -c - - 'i="0"; while true; do echo -n "`hostname`: $i: "; date --rfc-3339 ns; sleep - 4; i=$[$i+1]; done' - diff --git a/test/fixtures/doc-yaml/user-guide/logging-demo/synthetic_10lps.yaml b/test/fixtures/doc-yaml/user-guide/logging-demo/synthetic_10lps.yaml deleted file mode 100644 index 6e3c1ca9296..00000000000 --- a/test/fixtures/doc-yaml/user-guide/logging-demo/synthetic_10lps.yaml +++ /dev/null @@ -1,30 +0,0 @@ -# This pod specification creates an instance of a synthetic logger. The logger -# is simply a program that writes out the hostname of the pod, a count which increments -# by one on each iteration (to help notice missing log enteries) and the date using -# a long format (RFC-3339) to nano-second precision. This program logs at a frequency -# of 0.25 lines per second. The shellscript program is given directly to bash as -c argument -# and could have been written out as: -# i="0" -# while true -# do -# echo -n "`hostname`: $i: " -# date --rfc-3339 ns -# sleep 4 -# i=$[$i+1] -# done -apiVersion: v1 -kind: Pod -metadata: - labels: - name: synth-logging-source - name: synthetic-logger-10lps-pod -spec: - containers: - - name: synth-lgr - image: ubuntu:14.04 - args: - - bash - - -c - - 'i="0"; while true; do echo -n "`hostname`: $i: "; date --rfc-3339 ns; sleep - 0.1; i=$[$i+1]; done' - diff --git a/test/fixtures/doc-yaml/user-guide/new-nginx-deployment.yaml b/test/fixtures/doc-yaml/user-guide/new-nginx-deployment.yaml deleted file mode 100644 index 47c57adefb0..00000000000 --- a/test/fixtures/doc-yaml/user-guide/new-nginx-deployment.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: extensions/v1beta1 -kind: Deployment -metadata: - name: nginx-deployment -spec: - replicas: 3 - template: - metadata: - labels: - app: nginx - spec: - containers: - - name: nginx - image: nginx:1.9.1 - ports: - - containerPort: 80 diff --git a/test/fixtures/doc-yaml/user-guide/nginx-deployment.yaml b/test/fixtures/doc-yaml/user-guide/nginx-deployment.yaml deleted file mode 100644 index 7a0dd431efb..00000000000 --- a/test/fixtures/doc-yaml/user-guide/nginx-deployment.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: extensions/v1beta1 -kind: Deployment -metadata: - name: nginx-deployment -spec: - replicas: 3 - template: - metadata: - labels: - app: nginx - spec: - containers: - - name: nginx - image: nginx:1.7.9 - ports: - - containerPort: 80 diff --git a/test/fixtures/doc-yaml/user-guide/node-selection/pod.yaml b/test/fixtures/doc-yaml/user-guide/node-selection/pod.yaml deleted file mode 100644 index 134ddae2aa1..00000000000 --- a/test/fixtures/doc-yaml/user-guide/node-selection/pod.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: nginx - labels: - env: test -spec: - containers: - - name: nginx - image: nginx - imagePullPolicy: IfNotPresent - nodeSelector: - disktype: ssd diff --git a/test/fixtures/doc-yaml/user-guide/persistent-volumes/simpletest/namespace.json b/test/fixtures/doc-yaml/user-guide/persistent-volumes/simpletest/namespace.json deleted file mode 100644 index 79e2c3521e6..00000000000 --- a/test/fixtures/doc-yaml/user-guide/persistent-volumes/simpletest/namespace.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "kind": "Namespace", - "apiVersion":"v1", - "metadata": { - "name": "myns", - "labels": { - "name": "development" - } - } -} diff --git a/test/fixtures/doc-yaml/user-guide/persistent-volumes/simpletest/pod.yaml b/test/fixtures/doc-yaml/user-guide/persistent-volumes/simpletest/pod.yaml deleted file mode 100644 index ccd0045934c..00000000000 --- a/test/fixtures/doc-yaml/user-guide/persistent-volumes/simpletest/pod.yaml +++ /dev/null @@ -1,20 +0,0 @@ -kind: Pod -apiVersion: v1 -metadata: - name: mypod - labels: - name: frontendhttp -spec: - containers: - - name: myfrontend - image: nginx - ports: - - containerPort: 80 - name: "http-server" - volumeMounts: - - mountPath: "/usr/share/nginx/html" - name: mypd - volumes: - - name: mypd - persistentVolumeClaim: - claimName: myclaim-1 diff --git a/test/fixtures/doc-yaml/user-guide/persistent-volumes/simpletest/service.json b/test/fixtures/doc-yaml/user-guide/persistent-volumes/simpletest/service.json deleted file mode 100644 index 0e06aa9f03f..00000000000 --- a/test/fixtures/doc-yaml/user-guide/persistent-volumes/simpletest/service.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "kind": "Service", - "apiVersion": "v1", - "metadata": { - "name": "frontendservice" - }, - "spec": { - "ports": [ - { - "protocol": "TCP", - "port": 3000, - "targetPort": "http-server" - } - ], - "selector": { - "name": "frontendhttp" - } - } -} diff --git a/test/fixtures/doc-yaml/user-guide/pod.yaml b/test/fixtures/doc-yaml/user-guide/pod.yaml deleted file mode 100644 index 7053af0be4b..00000000000 --- a/test/fixtures/doc-yaml/user-guide/pod.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: nginx - labels: - app: nginx -spec: - containers: - - name: nginx - image: nginx - ports: - - containerPort: 80 diff --git a/test/fixtures/doc-yaml/user-guide/replicaset/frontend.yaml b/test/fixtures/doc-yaml/user-guide/replicaset/frontend.yaml deleted file mode 100644 index 878e10181ec..00000000000 --- a/test/fixtures/doc-yaml/user-guide/replicaset/frontend.yaml +++ /dev/null @@ -1,42 +0,0 @@ -apiVersion: extensions/v1beta1 -kind: ReplicaSet -metadata: - name: frontend - # these labels can be applied automatically - # from the labels in the pod template if not set - # labels: - # app: guestbook - # tier: frontend -spec: - # this replicas value is default - # modify it according to your case - replicas: 3 - # selector can be applied automatically - # from the labels in the pod template if not set - # selector: - # matchLabels: - # app: guestbook - # tier: frontend - template: - metadata: - labels: - app: guestbook - tier: frontend - spec: - containers: - - name: php-redis - image: gcr.io/google_samples/gb-frontend:v3 - resources: - requests: - cpu: 100m - memory: 100Mi - env: - - name: GET_HOSTS_FROM - value: dns - # If your cluster config does not include a dns service, then to - # instead access environment variables to find service host - # info, comment out the 'value: dns' line above, and uncomment the - # line below. - # value: env - ports: - - containerPort: 80 diff --git a/test/fixtures/doc-yaml/user-guide/walkthrough/pod-nginx-with-label.yaml b/test/fixtures/doc-yaml/user-guide/walkthrough/pod-nginx-with-label.yaml deleted file mode 100644 index 7053af0be4b..00000000000 --- a/test/fixtures/doc-yaml/user-guide/walkthrough/pod-nginx-with-label.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: nginx - labels: - app: nginx -spec: - containers: - - name: nginx - image: nginx - ports: - - containerPort: 80 diff --git a/test/fixtures/doc-yaml/user-guide/walkthrough/pod-nginx.yaml b/test/fixtures/doc-yaml/user-guide/walkthrough/pod-nginx.yaml deleted file mode 100644 index e65ec6f5b01..00000000000 --- a/test/fixtures/doc-yaml/user-guide/walkthrough/pod-nginx.yaml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: nginx -spec: - containers: - - name: nginx - image: nginx - ports: - - containerPort: 80 diff --git a/test/fixtures/doc-yaml/user-guide/walkthrough/pod-redis.yaml b/test/fixtures/doc-yaml/user-guide/walkthrough/pod-redis.yaml deleted file mode 100644 index f000658079b..00000000000 --- a/test/fixtures/doc-yaml/user-guide/walkthrough/pod-redis.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: redis -spec: - containers: - - name: redis - image: redis - volumeMounts: - - name: redis-persistent-storage - mountPath: /data/redis - volumes: - - name: redis-persistent-storage - emptyDir: {} diff --git a/test/fixtures/doc-yaml/user-guide/walkthrough/pod-with-http-healthcheck.yaml b/test/fixtures/doc-yaml/user-guide/walkthrough/pod-with-http-healthcheck.yaml deleted file mode 100644 index c697eba1dfe..00000000000 --- a/test/fixtures/doc-yaml/user-guide/walkthrough/pod-with-http-healthcheck.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: pod-with-healthcheck -spec: - containers: - - name: nginx - image: nginx - # defines the health checking - livenessProbe: - # an http probe - httpGet: - path: /_status/healthz - port: 80 - # length of time to wait for a pod to initialize - # after pod startup, before applying health checking - initialDelaySeconds: 30 - timeoutSeconds: 1 - ports: - - containerPort: 80 diff --git a/test/fixtures/doc-yaml/user-guide/walkthrough/replication-controller.yaml b/test/fixtures/doc-yaml/user-guide/walkthrough/replication-controller.yaml deleted file mode 100644 index e0dd6f73dde..00000000000 --- a/test/fixtures/doc-yaml/user-guide/walkthrough/replication-controller.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: v1 -kind: ReplicationController -metadata: - name: nginx-controller -spec: - replicas: 2 - # selector identifies the set of Pods that this - # replication controller is responsible for managing - selector: - app: nginx - # podTemplate defines the 'cookie cutter' used for creating - # new pods when necessary - template: - metadata: - labels: - # Important: these labels need to match the selector above - # The api server enforces this constraint. - app: nginx - spec: - containers: - - name: nginx - image: nginx - ports: - - containerPort: 80 diff --git a/test/fixtures/doc-yaml/user-guide/walkthrough/service.yaml b/test/fixtures/doc-yaml/user-guide/walkthrough/service.yaml deleted file mode 100644 index f2304d3d7f9..00000000000 --- a/test/fixtures/doc-yaml/user-guide/walkthrough/service.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: nginx-service -spec: - ports: - - port: 8000 # the port that this service should serve on - # the container on each pod to connect to, can be a name - # (e.g. 'www') or a number (e.g. 80) - targetPort: 80 - protocol: TCP - # just like the selector in the replication controller, - # but this time it identifies the set of pods to load balance - # traffic to. - selector: - app: nginx