DevOps Classroom notes 24/Oct/2024

Daemonsets

  • Daemonsets are used to run a pod on each node or selected nodes
  • They are useful for running agent like softwares in container
  • Daemonset support rolling updates like deployments
  • Lets write a simple spec to run a dameonset
  • Refer Here for offical docs
  • Refer Here for the changes done

Jobs and CronJobs


Namespace

  • Refer Here for official docs
  • In kubernetes we have api-resources
  • Resources are classified into two scopes
    • Namespace scoped resources:
      • Namespace true indicates namespace scoped resources
    • Cluster scoped resources
      • Namespaced false indicates cluster scoped resources
  • Exercise:
    • create a qa namespace (use manifest)
    • create a nginx deployment with 3 replicas in qa namespace
    • create a service with matches the labels in qa namespace
    • create an alpine pod in default namespace, try pinging to the nginx service in qa namespace with name not ip
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

Turn on JavaScript to leave a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company
Exit mobile version
%%footer%%