A simulator of Kuberntes for batch and offline workload.
Kubesim is based on kubemark on kubernetes release-1.18
, commit e38139724f8f0086be9db575d8fe5211c653dc8f
- create
kubesim
namespace
kubectl create ns kubesim
- create comfig map
node-configmap
kubectl create configmap node-configmap -n kubesim --from-literal=content.type="test-cluster"
- create secret
kubeconfig
kubectl create secret generic kubeconfig --type=Opaque --namespace=kubesim --from-file=kubelet.kubeconfig={{kubeconfig_file_path}} --from-file=kubeproxy.kubeconfig={{kubeconfig_file_path}}
- deploy kubesim
kubectl apply -f ./example/kubesim-cm.yaml
kubectl apply -f ./example/kubesim-rc.yaml