This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum update -y | |
sudo yum install -y docker | |
sudo service docker start | |
sudo usermod -a -G docker <USER> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo vim .bashrc | |
export MGW_TK_HOME=/home/sl-ajanthan/integration/toolkit | |
export PATH=$PATH:$MGW_TK_HOME/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo vim .bashrc | |
export JAVA_HOME=/home/sl-ajanthan/openjdk-11_linux-x64_bin/jdk-11 | |
export PATH=$PATH:$JAVA_HOME/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Setting the current namespace, so no need to set in all the commands execute | |
kubectl config set-context --current --namespace=wso2 | |
2) Updating the Images or doing any configuration updates | |
kubectl edit deployment.apps/<deployment_name> | |
3) After doing an update can check the status using below |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
minikube --memory 10240 --cpus 3 --insecure-registry "docker.local:5000" start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl get pods -n wso2test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
minikube - memory 10240 - cpus 3 - insecure-registry "docker.local:5000" start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sl-ajanthan@slajanthan-Latitude-3580:~$ helm install apim-deployment-1 /home/sl-ajanthan/blogs/kubernetes-wso2/kubernetes-apim/advanced/am-pattern-1 --namespace wso2test --create-namespace | |
NAME: apim-deployment-1 | |
LAST DEPLOYED: Fri Nov 13 12:29:22 2020 | |
NAMESPACE: wso2test | |
STATUS: deployed | |
REVISION: 1 | |
NOTES: | |
Thank you for installing WSO2 API Manager. | |
Please follow these steps to access API Manager Publisher, DevPortal consoles and Analytics Dashboard. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
helm install apim-deployment-1 /home/sl-ajanthan/blogs/kubernetes-wso2/kubernetes-apim/advanced/am-pattern-1 --namespace wso2test --create-namespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First find the PV: | |
sl-ajanthan@slajanthan-Latitude-3580:~$ kubectl get pv | |
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE | |
pvc-cb2e4c3e-24d8-11eb-9bc3-080027f9e433 50M RWX Delete Bound wso2test/wso2am-pattern-1-am-shared-synapse-configs-volume-claim nfs 8m | |
pvc-cb2e7589-24d8-11eb-9bc3-080027f9e433 20M RWX Delete Bound wso2test/wso2am-pattern-1-am-shared-executionplans-volume-claim nfs 8m | |
pvc-cb2e830d-24d8-11eb-9bc3-080027f9e433 8Gi RWO Delete Bound wso2test/wso2am-mysql-db-service nfs 8m | |
pvc-e1af0cfe-24d3-11eb-9bc3-080027f9e433 50M RWX Delete Released wso2test/wso2am-pattern-1-am-shared-synapse-configs-volume-claim nfs |