Code Monkey home page Code Monkey logo

kuber-14.3's Introduction

kuber-14.3

задача 1

создал карты конфигурации nginx-config и domain

kubectl create configmap nginx-config --from-file=nginx.conf

kubectl create configmap domain --from-literal=name=netology.ru

посмотрел список карт

kubectl get configmaps

посмотрел детально карты

kubectl get configmap nginx-config

kubectl describe configmap domain

получил информацию в ямл и джейсон

kubectl get configmap nginx-config -o yam

kubectl get configmap domain -o json

выгрузил в файлы ямл и джейсон

kubectl get configmaps -o json > configmaps.json

kubectl get configmap nginx-config -o yaml > nginx-config.yml

удалил карту

kubectl delete configmap nginx-config

загрузил из файла

kubectl apply -f nginx-config.yml

запустил под netology-14.3

проверил подтянулись ли конфиги из карт

вторую задачу не делал

скрин в файле 1431.jpg

kuber-14.3's People

Contributors

mikhail-pukhov 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.