Posts

Kubernetes 111: Config-map service on kubernetes

Image
 Kubernetes 111: Config-map service on kubernetes  Configure file: Create Config-map: Config-map yaml file: Create nginx image with config-map: Create nginx service: ================================================================ Good Luck https://www.linkedin.com/in/ahmedms/

Kubernetes 110: Helm Package Manager

Image
Helm Package Manager Tasks: 1-  Install Helm 3. 2-  Add Helm Chart repository. 3- Install  Nginx Ingress Controller  on Helm Chart 4- Install  DokuWiki   on Helm Chart. 5- Uninstall DokuWiki. Step 1 : Install Helm 3: ahmed@K8S:~$ curl -L https :// raw . githubusercontent . com / helm / helm / master / scripts / get - helm - 3 | bash Step 2: Add Helm Chart repository ahmed@K8S:~$ helm repo add stable https :// kubernetes - charts . storage . googleapis . com / "stable" has been added to your repositories ahmed@K8S:~$ helm search repo stable Step 3: Install Nginx-Ingress-Controller on Helm Chart ahmed@K8S:~$ helm repo update Hang tight while we grab the latest from your chart repositories... ...Successfully got an update from the "stable" chart repository Update Complete. ⎈ Happy Helming!⎈ ahmed@K8S:~$ helm show chart stable/nginx-ingress apiVersion: v1 appVersion: 0.30.0 description: An nginx Ingress controll...

Kubernetes 109: Deploy MySQL StatefulSets on Kubernetes

Image
Deploy MySQL StatefulSets on Kubernetes. 1- Create mysql-secret. 2- Create mysql-pvc. 3- Create mysql-statefulsets. 4-  Create mysql-service. 5- Test delete one pod. 1- Create MySQL Secret: 2- Create MySQL Persistent Volume: 3- Create MySQL-StatefulSets: Node: name of pods are name of statefulset following by incremental and record hostname of each pod with static IP in coreDNS. 4-  Create MySQL Service: 5- Test delete one pod: Node: after delete pod mysql-0 , statefulsets created new one , it has  the same name & IP. ================================================================ Good Luck https://www.linkedin.com/in/ahmedms/

Kubernetes 108: Deploy MySQL on kubernetes

Image
Deploy MySQL on kubernetes 1- Create mysql-secret. 2- Create mysql-pvc. 3- Create mysql-deployment. 4-  Create mysql-service. 5- Create mysql-client to access mysql server. 1- Create MySQL Secret: 2- Create MySQL Volume Persistent: 3- Create MySQL Deployment: 4- Create MySQL Service: ## Mount path from Host & Image: 5- Create MySQL-Client to access MySQL Server. 6- Test MySQL : 7- Test select from DB by MySQL-Client: 8- Delete Deployment objects by name: -------------------------------------------------------------------------------------------------- Good Luck https://www.linkedin.com/in/ahmedms/