POKE ME for any consultancy

Friday, April 26, 2024

GCP Overview

Refernces:

 https://cloud.google.com/kubernetes-engine/docs/

https://cloud.google.com/free/

https://cloud.google.com/architecture/best-practices-for-running-cost-effective-kubernetes-applications-on-gke?hl=en

Wednesday, April 24, 2024

Technologies and Tools -Devops

 Technologies and Tools 

  • Cloud platform - AWS
  • SDLC Methodologies: Agile /Scrum
  • Version Control Tools – GitHub/ Bitbucket/GitLab
  • CI/CD Automation Tools – Jenkins/ CloudBees CI, CD / Bamboo/ Octopus /Team City/ AWS DevOps / Harness
  • Container Management Tools – Docker/Kubernetes/Docker Swarm
  • Application Performance Management Tools – Prometheus/ Dynatrace/ AppDynamics
  • Monitoring Tools – ELK/Splunk/ Datadog/ Grafana
  • IAC Tools – Terraform/ Cloud Formation 
  • Config Management Tools – Chef/ Puppet/ Ansible
  • Artifact Management Tools – Jfrog Artifactory/Nexus/CloudRepo
  • Scripting - Python/Groovy/PowerShell/Shell Scripting
  • SAST/ DAST: SonarQube / Veracode/ Fortify
  • GitOps Tool – Argo CD/ Flux CD

Monday, April 22, 2024

platform.linkedin.com/badge

 <script src="https://platform.linkedin.com/badges/js/profile.js" async defer type="text/javascript"></script>

<div class="badge-base LI-profile-badge" data-locale="en_US" data-size="medium" data-theme="dark" data-type="VERTICAL" data-vanity="amitanand123" data-version="v1"><a class="badge-base__link LI-simple-link" href="https://in.linkedin.com/in/amitanand123?trk=profile-badge">Amit Anand</a></div>

              

Thursday, April 18, 2024

kubernetes Commands


  •     4  kubectl get replicaset
  •     5  kubectl describe replicaset
  •     7  kubectl get pods
  •     8  kubectl delete new-replica-set-fx2tw
  •     9  kubectl delete pods new-replica-set-fx2tw
  •    10  kubectl get pods
  •    11  kubectl describe replicaset
  •    12  kubectl create replicaset replicaset-definition-1.yaml 
  •    13  kubectl api-resources | grep replicaset
  •    14  kubectl explain replicaset | grep VERSION
  •    15  kubectl create -f /root/replicaset-definition-1.yaml
  • 1 kubectl get pods
  •   42 .\minikube.exe get pods
  •   43 .\minikube.exe get pods
  •   44 ./minikube dashboard
  •   45 .\minikube.exe start
  •   46 .\minikube.exe start
  •   47 ./minikube dashboard


Exam Details

https://www.youtube.com/watch?v=dHXgg9fbP8E

https://www.youtube.com/watch?v=1hF-HRq5Mww

Also check out, my other videos: CKA Exam Questions -    • REAL CKA Exam Questions to Practice a...   What is Kubernetes and How it works?    • Kubernetes Explained - What is Kubern...   Prerequisites to Learn Kubernetes: How I would learn DevOps from scratch    • How I would Learn DevOps from scratch...   DevOps Roadmap 2024:    • DevOps ROADMAP 2024: How to learn and...   How I passed my Terraform Associate Exam:    • How I passed my Hashicorp Certified T...   How I Passed my AWS SAA Exam:    • How I Passed AWS Solutions Architect ...   Top DevOps Certifications for 2024:    • Top 3 DevOps Certification in 2024 ♾️...   All about AWS CCP Certification:    • Everything you need to know about AWS...   DevSecOps Project to deploy Netflix :    • DevSecOps Pipeline Project: Deploy Ne...   DevOps Interview Questions and Answers:    • DevOps Interview Questions and Answer...   GitOps Explained with Examples:    • What is GitOps | GitOps explained wit...   Monitoring explained with popular tools:    • Popular DevOps Monitoring Tools in 2024   CICD explained with a project:    • What is CICD Pipeline? CICD process e...   How much Programming is required in DevOps :    • Is CODING required for Devops? How mu...   How I use Python as DevOps engineer:    • How I use Python as DevOps Engineer |...   How to use ChatGPT as a DevOps Engineer:    • 5 EFFECTIVE ways to use ChatGPT as a ...   CICD Pipeline explained:    • What is CICD Pipeline? CICD process e...   Terraform Tutorial :    • Master Terraform in 60 minutes | Terr...   Terraform Project on AWS:    • Simple DevOps Project to Practice Ter...   How I make money as Devops Freelancer:    • How I make money remotely as Freelanc...   Most used AWS services for DevOps Engineer:    • Important AWS services for DevOps you...  


https://github.com/killercoda/scenario-examples

Gitlab Security update

 [Slides] Intro to Security & Compliance Tech Demo - APAC (gitlab.com)

GitLab 2023 Global DevSecOps Report: Security Without Sacrifices


Wednesday, April 17, 2024

Minikube setup-Dashboard

 http://127.0.0.1:51298/


Dashboard | minikube (k8s.io)


https://minikube.sigs.k8s.io/docs/handbook/dashboard/

 Id CommandLine

  -- -----------

  •    1 minikube
  •    2 minikube addons list
  •    4 minikube config view
  •    5 cd C:\minikube\
  •    6 dir
  •    7 .\minikube.exe config view
  •    8 minikube config view
  •    9 minikube start --container-runtime=docker
  •   12 kubectl get pod --output=wide
  • kubectl expose deployment hello-minikube --type=NodePort --port=8080
  •     kubectl get pod --output=wide
  •    kubectl get services hello-minikube
  •    minikube service hello-minikube
  •    ./minikube dashboard
  •  kubectl create deployment hello-minikube --image=kicbase/echo-server:1.0
         docker ps

        Wednesday, April 10, 2024

        Kubernetes --Plateform

         "Kubernetes Config Syncer (previously kubed)" is a tool that enables users to synchronize secrets and other data across multiple Kubernetes namespaces. It was previously known as "kubed," but was renamed to Config Syncer in 2022. Config Syncer uses Ansible and Kubernetes Secrets to synchronize and update the data as necessary, making it easier to manage the configuration and data within a cluster.

        It is part of the Config Syncer project on GitHub, which involves the creation of Kubernetes Resources such as ConfigMaps and Services. Config Syncer can be installed using Kubeadm, and can be used in conjunction with other tools and frameworks to automate the configuration and management of Kubernetes clusters.


        Amazon EKS (Elastic Kubernetes Service): Complete Workflow (k21academy.com)

        Kubernetes on AWS: Create EKS Step By Step for Beginners (youtube.com)

        Synchronize Configuration across Namespaces (config-syncer.com)

        Synchronize Configuration across Kubernetes Clusters (config-syncer.com)

        CATS vs DOGS + FLASK + DOCKER + KUBERNETES | by Rietesh Amminabhavi | Medium

        Container Runtimes | Kubernetes

        Kubeadm | Kubernetes

        Kubeadm vs. Kops

        We briefly touched on the differences between the tools earlier. But more specifically these are the differences between the two tools:

        • Kubeadm is in the middle of the stack and it runs on each node, and basically creates and then talks to the Kubernetes API.
        • Kops on the other hand is responsible for the entire lifecycle of the cluster, from infrastructure provisioning to upgrading to deleting, and it knows about everything: nodes, masters, load balancers, cloud providers, monitoring, networking, logging etc.
        • Kops and Kubeadm w/ Chris Love & Lucas Käldström (youtube.com)


        • kubeadm init to bootstrap a Kubernetes control-plane node
        • kubeadm join to bootstrap a Kubernetes worker node and join it to the cluster
        • kubeadm upgrade to upgrade a Kubernetes cluster to a newer version
        • kubeadm config if you initialized your cluster using kubeadm v1.7.x or lower, to configure your cluster for kubeadm upgrade
        • kubeadm token to manage tokens for kubeadm join
        • kubeadm reset to revert any changes made to this host by kubeadm init or kubeadm join
        • kubeadm certs to manage Kubernetes certificates
        • kubeadm kubeconfig to manage kubeconfig files
        • kubeadm version to print the kubeadm version
        • kubeadm alpha to preview a set of features made available for gathering feedback from the community

        How to Create AWS EC2 Instance Using Terraform-https://spacelift.io/blog/terraform-ec2-instance