mirror of
https://github.com/apple/container.git
synced 2026-10-13 09:39:18 +00:00
Remove k8s start command for now (#2290)
Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
This commit is contained in:
1 parent
09d8e6aeea
commit
be974a3ea3
4 files changed
+10
-100
No files matched your search
@@ -1649,30 +1649,6 @@ container k8s create --name temp-cluster --rm
|
||||
container k8s create --cni ./my-cni.yaml
|
||||
```
|
||||
|
||||
### `container k8s start`
|
||||
|
||||
Starts a stopped Kubernetes cluster and refreshes its entry in `~/.kube/config` (the container IP can change between starts).
|
||||
|
||||
**Usage**
|
||||
|
||||
```bash
|
||||
container k8s start [--name <name>] [--debug]
|
||||
```
|
||||
|
||||
**Options**
|
||||
|
||||
* `--name <name>`: Cluster name (default: `k8s-dev`)
|
||||
|
||||
**Examples**
|
||||
|
||||
```bash
|
||||
# start the default cluster
|
||||
container k8s start
|
||||
|
||||
# start a named cluster
|
||||
container k8s start --name my-cluster
|
||||
```
|
||||
|
||||
### `container k8s delete (rm)`
|
||||
|
||||
Stops and deletes a Kubernetes cluster container and removes its entry from `~/.kube/config`.
|
||||
@@ -1749,7 +1725,7 @@ container k8s load-image --platform linux/amd64 my-app:latest
|
||||
|
||||
### `container k8s write-config`
|
||||
|
||||
Fetches the current kubeconfig from a running cluster and merges its context into a kubeconfig file. Use this to refresh credentials after a cluster restart or to write to an alternate config file.
|
||||
Fetches the current kubeconfig from a running cluster and merges its context into a kubeconfig file. Use this to write to an alternate config file.
|
||||
|
||||
**Usage**
|
||||
|
||||
|
||||
Reference in new issue
Block a user