Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
0069a6cf
Commit
0069a6cf
authored
May 02, 2019
by
Ruslan Gustomiasov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove soak test cauldron
parent
b07f3113
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
437 deletions
+0
-437
BUILD
test/BUILD
+0
-1
BUILD
test/soak/cauldron/BUILD
+0
-41
Dockerfile
test/soak/cauldron/Dockerfile
+0
-18
Makefile
test/soak/cauldron/Makefile
+0
-44
cauldron-rc.yaml
test/soak/cauldron/cauldron-rc.yaml
+0
-22
cauldron.go
test/soak/cauldron/cauldron.go
+0
-311
No files found.
test/BUILD
View file @
0069a6cf
...
@@ -21,7 +21,6 @@ filegroup(
...
@@ -21,7 +21,6 @@ filegroup(
"//test/integration:all-srcs",
"//test/integration:all-srcs",
"//test/kubemark:all-srcs",
"//test/kubemark:all-srcs",
"//test/list:all-srcs",
"//test/list:all-srcs",
"//test/soak/cauldron:all-srcs",
"//test/soak/serve_hostnames:all-srcs",
"//test/soak/serve_hostnames:all-srcs",
"//test/typecheck:all-srcs",
"//test/typecheck:all-srcs",
"//test/utils:all-srcs",
"//test/utils:all-srcs",
...
...
test/soak/cauldron/BUILD
deleted
100644 → 0
View file @
b07f3113
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"],
)
test/soak/cauldron/Dockerfile
deleted
100644 → 0
View file @
b07f3113
# 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"]
test/soak/cauldron/Makefile
deleted
100644 → 0
View file @
b07f3113
# 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
test/soak/cauldron/cauldron-rc.yaml
deleted
100644 → 0
View file @
b07f3113
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"
]
test/soak/cauldron/cauldron.go
deleted
100644 → 0
View file @
b07f3113
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment