fake-apiserver

command module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

README

fake-apiserver

kubectl

> k create ns demo --validate=false

> k --kubeconfig=local.kubeconfig create -f examples/cm.yaml --validate=false

patch apis

> k --kubeconfig=local.kubeconfig create -f https://k8s.io/examples/application/deployment-patch.yaml --validate=false

> k --kubeconfig=local.kubeconfig patch deployments.apps patch-demo --patch-file examples/patch-file.yaml

> k --kubeconfig=local.kubeconfig patch deployments.apps patch-demo --patch-file examples/patch-file-tolerations.yaml

> k --kubeconfig=local.kubeconfig patch deployments.apps patch-demo --type merge --patch-file examples/patch-file-2.yaml
> k --kubeconfig=local.kubeconfig get deployments.apps -A -o yaml

helm chart

helm install hello examples/charts/hello --disable-openapi-validation
helm install kubedb appscode/kubedb \
  --version v2023.08.18 \
  --namespace kubedb --create-namespace \
  --set kubedb-provisioner.enabled=true \
  --set kubedb-ops-manager.enabled=true \
  --set kubedb-autoscaler.enabled=true \
  --set kubedb-dashboard.enabled=true \
  --set kubedb-schema-manager.enabled=true \
  --disable-openapi-validation \
  --wait=false \
  --wait-for-jobs=false

ToDos:

  • status
  • scale
  • Delete via owner ref
  • openapi

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL