Skip to content

Instantly share code, notes, and snippets.

View ajanthanblog's full-sized avatar

Ajanthan ajanthanblog

View GitHub Profile
sl-ajanthan@slajanthan-Latitude-3580:~/wso2-internal-traininig/k8s-ei-operator$ kubectl get deployment
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
k8s-ei-operator 1 1 1 1 9m
sl-ajanthan@slajanthan-Latitude-3580:~/wso2-internal-traininig/k8s-ei-operator$
kubectl apply -f deploy/config_map.yaml
kubectl create -f deploy/operator.yaml
kubectl create -f deploy/crds/integration_v1alpha1_integration_crd.yaml
kubectl create -f deploy/role.yaml
kubectl create -f deploy/role_binding.yaml
kubectl create -f deploy/service_account.yaml
minikube --memory 7168 --cpus 2 --insecure-registry "docker.local:5000" start
curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl"
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
kubectl version --client
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_latest_amd64.deb
sudo dpkg -i minikube_latest_amd64.deb
docker run -d -p 5000:5000 --restart=always --name registry registry:2