mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 19:52:42 +00:00
Revert "Deleting old sample JSON; moving those in use; updating references"
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"id": "nginx-controller",
|
||||
"apiVersion": "v1beta1",
|
||||
"kind": "ReplicationController",
|
||||
"desiredState": {
|
||||
"replicas": 2,
|
||||
"replicaSelector": {"name": "nginx"},
|
||||
"podTemplate": {
|
||||
"desiredState": {
|
||||
"manifest": {
|
||||
"version": "v1beta1",
|
||||
"id": "nginx-controller",
|
||||
"containers": [{
|
||||
"name": "nginx",
|
||||
"image": "dockerfile/nginx",
|
||||
"ports": [{"containerPort": 80, "hostPort": 8080}]
|
||||
}]
|
||||
}
|
||||
},
|
||||
"labels": {"name": "nginx"}
|
||||
}},
|
||||
"labels": {"name": "nginx"}
|
||||
}
|
@@ -273,7 +273,7 @@ func podExists(c *client.Client, podNamespace string, podID string) wait.Conditi
|
||||
}
|
||||
|
||||
func runReplicationControllerTest(c *client.Client) {
|
||||
data, err := ioutil.ReadFile("cmd/integration/controller.json")
|
||||
data, err := ioutil.ReadFile("api/examples/controller.json")
|
||||
if err != nil {
|
||||
glog.Fatalf("Unexpected error: %v", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user