mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 13:12:20 +00:00
Remove createall now that create supports directories and sources
This commit is contained in:
@@ -4,5 +4,5 @@
|
||||
|
||||
### Usage
|
||||
```
|
||||
$ flags2yaml image=dockerfile/nginx | simplegen - | cluster/kubectl.sh createall -f -
|
||||
$ flags2yaml image=dockerfile/nginx | simplegen - | cluster/kubectl.sh create -f -
|
||||
```
|
||||
|
@@ -41,8 +41,8 @@ portSpec: 10001:6379
|
||||
```
|
||||
Output:
|
||||
```
|
||||
$ simplegen redismaster.yaml | cluster/kubectl.sh createall -f -
|
||||
$ simplegen redisslave.yaml | cluster/kubectl.sh createall -f -
|
||||
$ simplegen redismaster.yaml | cluster/kubectl.sh create -f -
|
||||
$ simplegen redisslave.yaml | cluster/kubectl.sh create -f -
|
||||
$ cluster/kubectl.sh get services
|
||||
NAME LABELS SELECTOR IP PORT
|
||||
kubernetes-ro component=apiserver,provider=kubernetes 10.0.0.2 80
|
||||
|
@@ -16,8 +16,8 @@ limitations under the License.
|
||||
|
||||
// simplegen is a tool to generate simple services from a simple description
|
||||
//
|
||||
// $ simplegen myservice.json | kubectl createall -f -
|
||||
// $ simplegen myservice.yaml | kubectl createall -f -
|
||||
// $ simplegen myservice.json | kubectl create -f -
|
||||
// $ simplegen myservice.yaml | kubectl create -f -
|
||||
//
|
||||
// This is completely separate from kubectl at the moment, until we figure out
|
||||
// what the right integration approach is.
|
||||
|
@@ -17,8 +17,8 @@ limitations under the License.
|
||||
// srvexpand is a tool to generate non-trivial but regular services
|
||||
// from a description free of most boilerplate
|
||||
//
|
||||
// $ srvexpand myservice.json | kubectl createall -f -
|
||||
// $ srvexpand myservice.yaml | kubectl createall -f -
|
||||
// $ srvexpand myservice.json | kubectl create -f -
|
||||
// $ srvexpand myservice.yaml | kubectl create -f -
|
||||
//
|
||||
// This is completely separate from kubectl at the moment, until we figure out
|
||||
// what the right integration approach is.
|
||||
|
Reference in New Issue
Block a user