From b7c0b6278e0bb71974656363ce334996172d6a7c Mon Sep 17 00:00:00 2001 From: Steve Perry Date: Tue, 13 Feb 2018 18:08:50 -0800 Subject: [PATCH] Remove unused autoscaling files. (#7407) --- .../hpa-php-apache.yaml | 13 ------------- .../image/Dockerfile | 19 ------------------- .../image/index.php | 7 ------- test/examples_test.go | 3 --- 4 files changed, 42 deletions(-) delete mode 100644 docs/user-guide/horizontal-pod-autoscaling/hpa-php-apache.yaml delete mode 100644 docs/user-guide/horizontal-pod-autoscaling/image/Dockerfile delete mode 100755 docs/user-guide/horizontal-pod-autoscaling/image/index.php diff --git a/docs/user-guide/horizontal-pod-autoscaling/hpa-php-apache.yaml b/docs/user-guide/horizontal-pod-autoscaling/hpa-php-apache.yaml deleted file mode 100644 index efe4bc149b..0000000000 --- a/docs/user-guide/horizontal-pod-autoscaling/hpa-php-apache.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: autoscaling/v1 -kind: HorizontalPodAutoscaler -metadata: - name: php-apache - namespace: default -spec: - scaleTargetRef: - apiVersion: apps/v1beta1 - kind: Deployment - name: php-apache - minReplicas: 1 - maxReplicas: 10 - targetCPUUtilizationPercentage: 50 diff --git a/docs/user-guide/horizontal-pod-autoscaling/image/Dockerfile b/docs/user-guide/horizontal-pod-autoscaling/image/Dockerfile deleted file mode 100644 index 1a93ea2ddc..0000000000 --- a/docs/user-guide/horizontal-pod-autoscaling/image/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 2016 The Kubernetes Authors All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -FROM php:5-apache - -ADD index.php /var/www/html/index.php - -RUN chmod a+rx index.php diff --git a/docs/user-guide/horizontal-pod-autoscaling/image/index.php b/docs/user-guide/horizontal-pod-autoscaling/image/index.php deleted file mode 100755 index 8f0b1c0cf3..0000000000 --- a/docs/user-guide/horizontal-pod-autoscaling/image/index.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/test/examples_test.go b/test/examples_test.go index 8f43e6e039..0ebab38a88 100644 --- a/test/examples_test.go +++ b/test/examples_test.go @@ -550,9 +550,6 @@ func TestExampleObjectSchemas(t *testing.T) { "show-rc": {&api.ReplicationController{}}, "show-srv": {&api.Service{}}, }, - "../docs/user-guide/horizontal-pod-autoscaling": { - "hpa-php-apache": {&autoscaling.HorizontalPodAutoscaler{}}, - }, "../docs/user-guide/jobs/work-queue-1": { "job": {&batch.Job{}}, },