Giter Site home page Giter Site logo

kubernetese-first-example's Introduction

kubernetese-first-example

OutPut & command<<<<

commands: minikube start --driver=virtualbox kubectl apply -f k8s-configuration/mongo-secret.yaml kubectl apply -f k8s-configuration/mongo-deployment.yaml kubectl apply -f k8s-configuration/mongo-service.yaml kubectl apply -f k8s-configuration/mongo-configmap.yaml kubectl apply -f k8s-configuration/mongo-express.yaml

command: kubectl get all

output: NAME READY STATUS RESTARTS AGE pod/mongo-deployment-5889fdbb95-5zblx 1/1 Running 0 12m pod/mongo-express-deployment-7b8c878767-47npt 1/1 Running 0 4s

NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/kubernetes ClusterIP 10.96.0.1 443/TCP 31m service/mongo-express-service LoadBalancer 10.109.27.48 8081:30009/TCP 4s service/mongo-service ClusterIP 10.101.29.61 27017/TCP 30m

NAME READY UP-TO-DATE AVAILABLE AGE deployment.apps/mongo-deployment 1/1 1 1 30m deployment.apps/mongo-express-deployment 1/1 1 1 4s

NAME DESIRED CURRENT READY AGE replicaset.apps/mongo-deployment-5889fdbb95 1 1 1 12m replicaset.apps/mongo-deployment-666b6bc97c 0 0 0 30m replicaset.apps/mongo-express-deployment-7b8c878767 1 1 1 4s

command: minikube service mongo-express-service

output: |-----------|-----------------------|-------------|-----------------------------| | NAMESPACE | NAME | TARGET PORT | URL | |-----------|-----------------------|-------------|-----------------------------| | default | mongo-express-service | 8081 | http://192.168.59.100:30009 | |-----------|-----------------------|-------------|-----------------------------| ๐ŸŽ‰ Opening service default/mongo-express-service in default browser... marzieh@marzieh-UX310UQK:~$ Opening in existing browser session.

kubernetese-first-example's People

Contributors

ghadirinia avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.