Hawaiideveloper / Infastructure-as-Code-Sample_Env

Take your infrastructure mobile and restore on bare metal, or into your favorite borrowed hardware aka cloud
1 stars 3 forks source link

Mongo db kubernetes v001 #44

Closed Hawaiideveloper closed 3 years ago

Hawaiideveloper commented 3 years ago

functional and working please see below stdout:

[hawaiideveloper@COREY-13-macBook:~/Documents/github/Infastructure-as-Code-Sample_Env] $ kubectl describe pod mongodb-deployment-8f6675bc5-cgkbc

75bc5-cgkbc Name: mongodb-deployment-8f6675bc5-cgkbc Namespace: default Priority: 0 Node: minikube/192.168.99.101 Start Time: Thu, 08 Jul 2021 16:31:10 -0400 Labels: app=mongodb pod-template-hash=8f6675bc5 Annotations: Status: Running IP: 172.17.0.5 IPs: IP: 172.17.0.5 Controlled By: ReplicaSet/mongodb-deployment-8f6675bc5 Containers: mongodb: Container ID: docker://2af477664322bf07e612015d0d65299f5d83acfc67253f2dbb5ec4ea375af5ca Image: mongo Image ID: docker-pullable://mongo@sha256:fe44eb6a2ea2bb1548718ec05eb9cb165f1bded37595ebea507bddc413ab99ae Port: 27017/TCP Host Port: 0/TCP State: Running Started: Thu, 08 Jul 2021 16:31:12 -0400 Ready: True Restart Count: 0 Environment: MONGO_INITDB_ROOT_USERNAME: <set to the key 'mongo-root-username' in secret 'mongodb-secret'> Optional: false MONGO_INITDB_ROOT_PASSWORD: <set to the key 'mongo-root-password' in secret 'mongodb-secret'> Optional: false Mounts: /var/run/secrets/kubernetes.io/serviceaccount from default-token-679tr (ro) Conditions: Type Status Initialized True Ready True ContainersReady True PodScheduled True Volumes: default-token-679tr: Type: Secret (a volume populated by a Secret) SecretName: default-token-679tr Optional: false QoS Class: BestEffort Node-Selectors: Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s node.kubernetes.io/unreachable:NoExecute op=Exists for 300s Events: Type Reason Age From Message


Normal Scheduled 2m15s default-scheduler Successfully assigned default/mongodb-deployment-8f6675bc5-cgkbc to minikube Normal Pulling 2m14s kubelet Pulling image "mongo" Normal Pulled 2m13s kubelet Successfully pulled image "mongo" in 366.852008ms Normal Created 2m13s kubelet Created container mongodb Normal Started 2m13s kubelet Started container mongodb

Hawaiideveloper commented 3 years ago

In reference to:

https://github.com/Hawaiideveloper/Infastructure-as-Code-Sample_Env/issues/43