Commit 0069a6cf authored by Ruslan Gustomiasov's avatar Ruslan Gustomiasov

remove soak test cauldron

parent b07f3113
......@@ -21,7 +21,6 @@ filegroup(
"//test/integration:all-srcs",
"//test/kubemark:all-srcs",
"//test/list:all-srcs",
"//test/soak/cauldron:all-srcs",
"//test/soak/serve_hostnames:all-srcs",
"//test/typecheck:all-srcs",
"//test/utils:all-srcs",
......
package(default_visibility = ["//visibility:public"])
load(
"@io_bazel_rules_go//go:def.bzl",
"go_binary",
"go_library",
)
go_binary(
name = "cauldron",
embed = [":go_default_library"],
)
go_library(
name = "go_default_library",
srcs = ["cauldron.go"],
importpath = "k8s.io/kubernetes/test/soak/cauldron",
deps = [
"//staging/src/k8s.io/api/core/v1:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/api/errors:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/util/intstr:go_default_library",
"//staging/src/k8s.io/client-go/kubernetes:go_default_library",
"//staging/src/k8s.io/client-go/rest:go_default_library",
"//test/e2e/framework:go_default_library",
"//vendor/k8s.io/klog:go_default_library",
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
)
# Copyright 2016 The Kubernetes Authors.
#
# 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 busybox
ADD cauldron cauldron
ADD cauldron.go cauldron.go
ENTRYPOINT ["/cauldron"]
# Copyright 2016 The Kubernetes Authors.
#
# 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.
.PHONY: cauldron
TAG = 1.0
cauldron:
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -installsuffix cgo --ldflags '-w' cauldron.go
container: cauldron
docker build --pull -t kubernetes/cauldron:$(TAG) .
push:
docker push kubernetes/cauldron:$(TAG)
rc:
kubectl create --validate -f cauldron-rc.yaml
stop:
kubectl delete rc cauldron
get:
kubectl get rc,pods -l app=cauldron
scale20:
kubectl scale rc cauldron --replicas=20
scale1:
kubectl scale rc cauldron --replicas=1
clean:
rm -rf cauldron
apiVersion: v1
kind: ReplicationController
metadata:
name: cauldron
namespace: default
labels:
app: cauldron
spec:
replicas: 1
selector:
app: cauldron
template:
metadata:
labels:
app: cauldron
spec:
containers:
- name: cauldron
image: kubernetes/cauldron:1.0
imagePullPolicy: Always
args: ["--up_to=-1"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment