@@ -40,11 +40,11 @@ kubernetesjs/
4040#### 2. Ops CLI (` @kubernetesjs/ops-cli ` )
4141- ** Purpose:** Higher‑level operational workflows (migrated from Interweb CLI)
4242- ** Commands:**
43- - ` kjs setup` – Initialize cluster with operators
44- - ` kjs deploy` – Deploy applications
45- - ` kjs status` – Cluster and app status
46- - ` kjs destroy` – Cleanup resources
47- - ` kjs scaffold` – Generate project templates
43+ - ` k8sops setup` – Initialize cluster with operators
44+ - ` k8sops deploy` – Deploy applications
45+ - ` k8sops status` – Cluster and app status
46+ - ` k8sops destroy` – Cleanup resources
47+ - ` k8sops scaffold` – Generate project templates
4848
4949#### 3. Client Package (` @kubernetesjs/client ` )
5050- ** Purpose:** Enhanced kubernetesjs wrapper
@@ -78,9 +78,9 @@ kubernetesjs/
7878
7979## Configuration Files
8080
81- ### 1. Cluster Setup Config (` kjs .setup.yaml` )
81+ ### 1. Cluster Setup Config (` k8sops .setup.yaml` )
8282``` yaml
83- apiVersion : kjs .dev/v1
83+ apiVersion : kubernetesjs .dev/v1
8484kind : ClusterSetup
8585metadata :
8686 name : dev-cluster
@@ -112,9 +112,9 @@ spec:
112112 domain : " 127.0.0.1.nip.io" # Default for development
113113` ` `
114114
115- ### 2. Application Deploy Config (` kjs .deploy.yaml`)
115+ ### 2. Application Deploy Config (` k8sops .deploy.yaml`)
116116` ` ` yaml
117- apiVersion: kjs .dev/v1
117+ apiVersion: kubernetesjs .dev/v1
118118kind: Application
119119metadata:
120120 name: postgres-api-app
@@ -270,12 +270,12 @@ spec:
270270
271271### Current → KubernetesJS (ops-cli) Mapping
272272
273- | Current Script | kjs Command | Configuration |
273+ | Current Script | k8sops Command | Configuration |
274274|---|---|---|
275- | `00-setup-cluster.sh` | `kjs setup --infrastructure` | `kjs .setup.yaml` (infrastructure section) |
276- | `01-install-operators.sh` | `kjs setup --operators` | `kjs .setup.yaml` (operators section) |
277- | `02-deploy-postgres.sh` | `kjs deploy --database` | `kjs .deploy.yaml` (database section) |
278- | `03-deploy-knative-app.sh` | `kjs deploy --services` | `kjs .deploy.yaml` (services section) |
275+ | `00-setup-cluster.sh` | `k8sops setup --infrastructure` | `k8sops .setup.yaml` (infrastructure section) |
276+ | `01-install-operators.sh` | `k8sops setup --operators` | `k8sops .setup.yaml` (operators section) |
277+ | `02-deploy-postgres.sh` | `k8sops deploy --database` | `k8sops .deploy.yaml` (database section) |
278+ | `03-deploy-knative-app.sh` | `k8sops deploy --services` | `k8sops .deploy.yaml` (services section) |
279279
280280### Migration Benefits
2812811. **Declarative**: Configuration over imperative scripts
@@ -291,10 +291,10 @@ spec:
291291k8s get pods -n default
292292
293293# Ops CLI (higher-level workflows)
294- kjs setup
295- kjs deploy
296- kjs status
297- kjs destroy --confirm
294+ k8sops setup
295+ k8sops deploy
296+ k8sops status
297+ k8sops destroy --confirm
298298```
299299
300300## Next Steps
0 commit comments