-
Lets check the Solution of the Application Failure
-
Check Solution
Details
kubectl delete svc mysql -n alphaapiVersion: v1 kind: Service metadata: name: mysql-service namespace: alpha spec: clusterIP: 10.110.6.201 ports: - port: 3306 protocol: TCP targetPort: 3306 selector: name: mysql sessionAffinity: None type: ClusterIP status: loadBalancer: {} -
Check Solution
Details
kubectl edit svc mysql-service -n betaapiVersion: v1 kind: Service metadata: name: mysql-service namespace: beta spec: clusterIP: 10.110.6.201 ports: - port: 3306 protocol: TCP targetPort: 3306 selector: name: mysql sessionAffinity: None type: ClusterIP status: loadBalancer: {} -
Check Solution
Details
kubectl edit svc mysql-service -n gamma Press Esc, then qolon(:) :%s/sql0001/mysql/ -
Check Solution
Details
kubectl edit deployment.apps/webapp-mysql -n delta Change the DB_User to root :%s/sql-user/root - name: DB_User value: root -
Check Solution
Details
kubectl edit deployment.apps/webapp-mysql -n delta Change the DB_User to root :%s/sql-user/root - name: DB_User value: root -
Check Solution
Details
kubectl edit pod mysql -n epsilon Replace the DB_Password with Correct password as shown below, delete the pod and re-create it :%s/passwooooorrddd/paswrd -
Check Solution
Details
kubectl edit deployment.apps/webapp-mysql -n zeta Change the DB_User to root :%s/sql-user/root - name: DB_User value: rootReplace the DB_Password with Correct password as shown below, delete the pod and re-create it kubectl edit pod mysql -n zeta :%s/passwooooorrddd/paswrdkubectl edit svc web-service -n zeta Change the nodePort from 30088 to 30081 :%s/30088/30081
-