Skip to content

Instantly share code, notes, and snippets.

@mattfarina
Created November 16, 2017 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattfarina/adec487206cc14010a74010f9b68cfe8 to your computer and use it in GitHub Desktop.
Save mattfarina/adec487206cc14010a74010f9b68cfe8 to your computer and use it in GitHub Desktop.
{
"info": {
"Description": "Install complete",
"first_deployed": {
"nanos": 869943809,
"seconds": 1510866024
},
"last_deployed": {
"nanos": 869943809,
"seconds": 1510866024
},
"status": {
"code": 1,
"notes": "MariaDB can be accessed via port 3306 on the following DNS name from within your cluster:\nirreverant-terrier-mariadb.default.svc.cluster.local\n\nTo get the root password run:\n\n MARIADB_ROOT_PASSWORD=$(kubectl get secret --namespace default irreverant-terrier-mariadb -o jsonpath=\"{.data.mariadb-root-password}\" | base64 --decode)\n\nTo connect to your database:\n\n1. Run a pod that you can use as a client:\n\n kubectl run irreverant-terrier-mariadb-client --rm --tty -i --env MARIADB_ROOT_PASSWORD=$MARIADB_ROOT_PASSWORD --image bitnami/mariadb --command -- bash\n\n2. Connect using the mysql cli, then provide your password:\n mysql -h irreverant-terrier-mariadb -p$MARIADB_ROOT_PASSWORD\n",
"resources": "==> v1beta1/Deployment\nNAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE\nirreverant-terrier-mariadb 1 1 1 1 2m\n\n==> v1/Pod(related)\nNAME READY STATUS RESTARTS AGE\nirreverant-terrier-mariadb-659794f44f-2bmkn 1/1 Running 0 2m\n\n==> v1/Secret\nNAME TYPE DATA AGE\nirreverant-terrier-mariadb Opaque 2 2m\n\n==> v1/ConfigMap\nNAME DATA AGE\nirreverant-terrier-mariadb 1 2m\nirreverant-terrier-mariadb-tests 1 2m\n\n==> v1/PersistentVolumeClaim\nNAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE\nirreverant-terrier-mariadb Bound pvc-2ae73c8e-cb11-11e7-a9b6-080027ceaa8a 8Gi RWO standard 2m\n\n==> v1/Service\nNAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE\nirreverant-terrier-mariadb ClusterIP 10.0.0.190 <none> 3306/TCP 2m\n\n"
}
},
"name": "irreverant-terrier",
"namespace": "default"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment