mirror of
https://github.com/bitinflow/laravel-docker-k8s.git
synced 2026-03-17 23:45:52 +00:00
initial commit
This commit is contained in:
18
deploy/mysql/install.md
Executable file
18
deploy/mysql/install.md
Executable file
@@ -0,0 +1,18 @@
|
||||
gcloud compute disks create --size=10GB mysql-disk-quests-qa
|
||||
|
||||
kubectl create -f gce-volume.yaml
|
||||
|
||||
kubectl create -f mysql-deployment.yaml
|
||||
|
||||
kubectl create -f mysql-service.yaml
|
||||
|
||||
|
||||
kubectl get pod
|
||||
|
||||
kubectl run -it --rm --image=mysql:5.6 mysql-client -- mysql -h 10.48.2.26 -p c0mm0nZaq123useer
|
||||
|
||||
kubectl expose service nginx --port=3306 --target-port=3306 --name=mysql-oauth-service
|
||||
|
||||
|
||||
LOGIN FOEM MYSQL POD
|
||||
mysql -u root -p --host 127.0.0.1
|
||||
Reference in New Issue
Block a user