mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
renaming folder to v1beta3 and updating testcases
This commit is contained in:
parent
fd3d60f72b
commit
95c225584e
@ -115,7 +115,7 @@ func TestExampleObjectSchemas(t *testing.T) {
|
||||
"redis-master-service": &api.Service{},
|
||||
"redis-slave-service": &api.Service{},
|
||||
},
|
||||
"../examples/guestbook/v3_json_files": {
|
||||
"../examples/guestbook/v1beta3": {
|
||||
"frontend-controller": &api.ReplicationController{},
|
||||
"redis-slave-controller": &api.ReplicationController{},
|
||||
"redis-master": &api.ReplicationController{},
|
||||
@ -131,7 +131,7 @@ func TestExampleObjectSchemas(t *testing.T) {
|
||||
"redis-master-service": &api.Service{},
|
||||
"redis-slave-service": &api.Service{},
|
||||
},
|
||||
"../examples/guestbook-go/v3_json_files": {
|
||||
"../examples/guestbook-go/v1beta3": {
|
||||
"guestbook-controller": &api.ReplicationController{},
|
||||
"redis-slave-controller": &api.ReplicationController{},
|
||||
"redis-master-controller": &api.ReplicationController{},
|
||||
|
14
examples/guestbook-go/v1beta3/README.md
Normal file
14
examples/guestbook-go/v1beta3/README.md
Normal file
@ -0,0 +1,14 @@
|
||||
## GuestBook v1beta3 example
|
||||
|
||||
This example shows how to build a simple, multi-tier web application using Kubernetes and Docker.
|
||||
|
||||
The example consists of:
|
||||
- A web frontend
|
||||
- A redis master (for storage and a replicated set of redis slaves)
|
||||
|
||||
The web front end interacts with the redis master via javascript redis API calls.
|
||||
|
||||
The v1beta3 API is not enabled by default. The kube-apiserver process needs to run with the --runtime_config=api/v1beta3 argument. Use the following command to enable it:
|
||||
$sudo sed -i 's|KUBE_API_ARGS="|KUBE_API_ARGS="--runtime_config=api/v1beta3 |' /etc/kubernetes/apiserver
|
||||
|
||||
|
14
examples/guestbook/v1beta3/README.md
Normal file
14
examples/guestbook/v1beta3/README.md
Normal file
@ -0,0 +1,14 @@
|
||||
## GuestBook v1beta3 example
|
||||
|
||||
This example shows how to build a simple, multi-tier web application using Kubernetes and Docker.
|
||||
|
||||
The example consists of:
|
||||
- A web frontend
|
||||
- A redis master (for storage and a replicated set of redis slaves)
|
||||
|
||||
The web front end interacts with the redis master via javascript redis API calls.
|
||||
|
||||
The v1beta3 API is not enabled by default. The kube-apiserver process needs to run with the --runtime_config=api/v1beta3 argument. Use the following command to enable it:
|
||||
$sudo sed -i 's|KUBE_API_ARGS="|KUBE_API_ARGS="--runtime_config=api/v1beta3 |' /etc/kubernetes/apiserver
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user