From 3e61d965d8c047982e43ffb30a09487137a85376 Mon Sep 17 00:00:00 2001 From: Paulo Pires Date: Sun, 4 Feb 2018 14:49:54 +0400 Subject: [PATCH] Remove resources that were moved to kubernetes/examples repo Signed-off-by: Paulo Pires --- examples/elasticsearch/es-rc.yaml | 51 ------------------- examples/elasticsearch/es-svc.yaml | 17 ------- .../production_cluster/README.md | 1 - .../production_cluster/es-client-rc.yaml | 51 ------------------- .../production_cluster/es-data-rc.yaml | 46 ----------------- .../production_cluster/es-discovery-svc.yaml | 15 ------ .../production_cluster/es-master-rc.yaml | 48 ----------------- .../production_cluster/es-svc.yaml | 16 ------ .../production_cluster/service-account.yaml | 4 -- examples/elasticsearch/service-account.yaml | 4 -- 10 files changed, 253 deletions(-) delete mode 100644 examples/elasticsearch/es-rc.yaml delete mode 100644 examples/elasticsearch/es-svc.yaml delete mode 100644 examples/elasticsearch/production_cluster/README.md delete mode 100644 examples/elasticsearch/production_cluster/es-client-rc.yaml delete mode 100644 examples/elasticsearch/production_cluster/es-data-rc.yaml delete mode 100644 examples/elasticsearch/production_cluster/es-discovery-svc.yaml delete mode 100644 examples/elasticsearch/production_cluster/es-master-rc.yaml delete mode 100644 examples/elasticsearch/production_cluster/es-svc.yaml delete mode 100644 examples/elasticsearch/production_cluster/service-account.yaml delete mode 100644 examples/elasticsearch/service-account.yaml diff --git a/examples/elasticsearch/es-rc.yaml b/examples/elasticsearch/es-rc.yaml deleted file mode 100644 index 31f38e406dc..00000000000 --- a/examples/elasticsearch/es-rc.yaml +++ /dev/null @@ -1,51 +0,0 @@ -apiVersion: v1 -kind: ReplicationController -metadata: - name: es - labels: - component: elasticsearch -spec: - replicas: 1 - template: - metadata: - labels: - component: elasticsearch - spec: - serviceAccount: elasticsearch - containers: - - name: es - securityContext: - capabilities: - add: - - IPC_LOCK - image: quay.io/pires/docker-elasticsearch-kubernetes:1.7.1-4 - env: - - name: KUBERNETES_CA_CERTIFICATE_FILE - value: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: "CLUSTER_NAME" - value: "myesdb" - - name: "DISCOVERY_SERVICE" - value: "elasticsearch" - - name: NODE_MASTER - value: "true" - - name: NODE_DATA - value: "true" - - name: HTTP_ENABLE - value: "true" - ports: - - containerPort: 9200 - name: http - protocol: TCP - - containerPort: 9300 - name: transport - protocol: TCP - volumeMounts: - - mountPath: /data - name: storage - volumes: - - name: storage - emptyDir: {} diff --git a/examples/elasticsearch/es-svc.yaml b/examples/elasticsearch/es-svc.yaml deleted file mode 100644 index 3a5dd45649d..00000000000 --- a/examples/elasticsearch/es-svc.yaml +++ /dev/null @@ -1,17 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: elasticsearch - labels: - component: elasticsearch -spec: - type: LoadBalancer - selector: - component: elasticsearch - ports: - - name: http - port: 9200 - protocol: TCP - - name: transport - port: 9300 - protocol: TCP diff --git a/examples/elasticsearch/production_cluster/README.md b/examples/elasticsearch/production_cluster/README.md deleted file mode 100644 index e1da3b72677..00000000000 --- a/examples/elasticsearch/production_cluster/README.md +++ /dev/null @@ -1 +0,0 @@ -This file has moved to [https://github.com/kubernetes/examples/blob/master/staging/elasticsearch/production_cluster/README.md](https://github.com/kubernetes/examples/blob/master/staging/elasticsearch/production_cluster/README.md) diff --git a/examples/elasticsearch/production_cluster/es-client-rc.yaml b/examples/elasticsearch/production_cluster/es-client-rc.yaml deleted file mode 100644 index a2e2f20378e..00000000000 --- a/examples/elasticsearch/production_cluster/es-client-rc.yaml +++ /dev/null @@ -1,51 +0,0 @@ -apiVersion: v1 -kind: ReplicationController -metadata: - name: es-client - labels: - component: elasticsearch - role: client -spec: - replicas: 1 - template: - metadata: - labels: - component: elasticsearch - role: client - spec: - serviceAccount: elasticsearch - containers: - - name: es-client - securityContext: - capabilities: - add: - - IPC_LOCK - image: quay.io/pires/docker-elasticsearch-kubernetes:1.7.1-4 - env: - - name: KUBERNETES_CA_CERTIFICATE_FILE - value: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: "CLUSTER_NAME" - value: "myesdb" - - name: NODE_MASTER - value: "false" - - name: NODE_DATA - value: "false" - - name: HTTP_ENABLE - value: "true" - ports: - - containerPort: 9200 - name: http - protocol: TCP - - containerPort: 9300 - name: transport - protocol: TCP - volumeMounts: - - mountPath: /data - name: storage - volumes: - - name: storage - emptyDir: {} diff --git a/examples/elasticsearch/production_cluster/es-data-rc.yaml b/examples/elasticsearch/production_cluster/es-data-rc.yaml deleted file mode 100644 index 6fed15f01f9..00000000000 --- a/examples/elasticsearch/production_cluster/es-data-rc.yaml +++ /dev/null @@ -1,46 +0,0 @@ -apiVersion: v1 -kind: ReplicationController -metadata: - name: es-data - labels: - component: elasticsearch - role: data -spec: - replicas: 1 - template: - metadata: - labels: - component: elasticsearch - role: data - spec: - serviceAccount: elasticsearch - containers: - - name: es-data - securityContext: - capabilities: - add: - - IPC_LOCK - image: quay.io/pires/docker-elasticsearch-kubernetes:1.7.1-4 - env: - - name: KUBERNETES_CA_CERTIFICATE_FILE - value: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: "CLUSTER_NAME" - value: "myesdb" - - name: NODE_MASTER - value: "false" - - name: HTTP_ENABLE - value: "false" - ports: - - containerPort: 9300 - name: transport - protocol: TCP - volumeMounts: - - mountPath: /data - name: storage - volumes: - - name: storage - emptyDir: {} diff --git a/examples/elasticsearch/production_cluster/es-discovery-svc.yaml b/examples/elasticsearch/production_cluster/es-discovery-svc.yaml deleted file mode 100644 index cfdc5daa255..00000000000 --- a/examples/elasticsearch/production_cluster/es-discovery-svc.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: elasticsearch-discovery - labels: - component: elasticsearch - role: master -spec: - selector: - component: elasticsearch - role: master - ports: - - name: transport - port: 9300 - protocol: TCP diff --git a/examples/elasticsearch/production_cluster/es-master-rc.yaml b/examples/elasticsearch/production_cluster/es-master-rc.yaml deleted file mode 100644 index 49eadbfd398..00000000000 --- a/examples/elasticsearch/production_cluster/es-master-rc.yaml +++ /dev/null @@ -1,48 +0,0 @@ -apiVersion: v1 -kind: ReplicationController -metadata: - name: es-master - labels: - component: elasticsearch - role: master -spec: - replicas: 1 - template: - metadata: - labels: - component: elasticsearch - role: master - spec: - serviceAccount: elasticsearch - containers: - - name: es-master - securityContext: - capabilities: - add: - - IPC_LOCK - image: quay.io/pires/docker-elasticsearch-kubernetes:1.7.1-4 - env: - - name: KUBERNETES_CA_CERTIFICATE_FILE - value: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: "CLUSTER_NAME" - value: "myesdb" - - name: NODE_MASTER - value: "true" - - name: NODE_DATA - value: "false" - - name: HTTP_ENABLE - value: "false" - ports: - - containerPort: 9300 - name: transport - protocol: TCP - volumeMounts: - - mountPath: /data - name: storage - volumes: - - name: storage - emptyDir: {} diff --git a/examples/elasticsearch/production_cluster/es-svc.yaml b/examples/elasticsearch/production_cluster/es-svc.yaml deleted file mode 100644 index 03bc4efda79..00000000000 --- a/examples/elasticsearch/production_cluster/es-svc.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: elasticsearch - labels: - component: elasticsearch - role: client -spec: - type: LoadBalancer - selector: - component: elasticsearch - role: client - ports: - - name: http - port: 9200 - protocol: TCP diff --git a/examples/elasticsearch/production_cluster/service-account.yaml b/examples/elasticsearch/production_cluster/service-account.yaml deleted file mode 100644 index 7b7b80b2009..00000000000 --- a/examples/elasticsearch/production_cluster/service-account.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: elasticsearch diff --git a/examples/elasticsearch/service-account.yaml b/examples/elasticsearch/service-account.yaml deleted file mode 100644 index 7b7b80b2009..00000000000 --- a/examples/elasticsearch/service-account.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: elasticsearch