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 ReplyCancel reply

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

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%