Giter Club home page Giter Club logo

ckad-prep's Introduction

Hi, I'm Ben ๐Ÿ‘‹๐Ÿป

I'm an Independent Consultant, Trainer, and Author.

  • ๐Ÿ’ก I specialize in cloud-native application development and transformation, container solutions, DevSecOps, and Continuous Integration/Continuous Delivery implementations.
  • ๐Ÿ’ป Delivered high-impact, short- and long-term consulting engagements to Fortune 500 companies, large enterprises, and startups.
  • ๐Ÿ‘จโ€๐Ÿซ Taught 1000+ students on topics, such as Kubernetes, Terraform, Jenkins, Gradle, Bazel, and Go.
  • ๐Ÿ“ฉ Reach out to me for consulting or training.

Connect with Me On Social Media ๐Ÿค๐Ÿป

My Books ๐Ÿ“š

My Certifications ๐Ÿ…

Udemy Course Discount Coupons ๐Ÿ’ฅ

Course Coupon Code Valid Until
GitHub Actions Certification Practice Exam APR2024 May 1, 2024
Certified Jenkins Engineer (CJE) Practice Exam 2023 APR2024 May 1, 2024

ckad-prep's People

Contributors

bmuschko avatar ebarped avatar rhabenbacher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ckad-prep's Issues

Warnings in commands

I am using the laest versions of minikube and kubectl on my ubuntu desktop. While practicing for Configuration, I encountered to exceptions, that I would like to notify you.

For the command - kubectl get serviceaccount backend-team -o yaml --export, kubectl always complained of - Error: unknown flag: --export

For the command - kubectl run backend --namespace=ckad-prep --image=nginx --restart=Never --serviceaccount=backend-team, kubectl warned of - Flag --serviceaccount has been deprecated, has no effect and will be removed in the future.

Chapter 4 - Sidecar exercise

Hello,

I am on the chapter 4 - questions 7 to 10. I have the below manifest.

apiVersion: v1
kind: Pod
metadata:
  name: data-exchange
spec:
  containers:
  - image: busybox
    name: main-app
    command: ['sh', '-c', 'counter=1; while true; do touch \
              "/var/app/data/$counter-data.txt"; counter=$((counter+1)); \
              sleep 30; done']
    volumeMounts:
    - name: data-dir
      mountPath: /var/app/data
    resources: {}
  - image: busybox
    name: sidecar
    command: ['sh', '-c', 'while true; do ls -d /var/app/data/*-data.txt \
              | wc -l; sleep 30; done']
    volumeMounts:
    - name: data-dir
      mountPath: /var/app/data
  volumes:
  - name: data-dir
    emptyDir: {}
  dnsPolicy: ClusterFirst
  restartPolicy: Never
status: {}

But, I am seeing errors in logs of both the main-app and sidecar containers.

In sidecar logs,

ls: /var/app/data/*-data.txt: No such file or directory
ls:  : No such file or directory
0
ls: /var/app/data/*-data.txt: No such file or directory
ls:  : No such file or directory
0

In main-app logs,

touch:  /var/app/data/463608-data.txt: No such file or directory
sh:  sleep: not found
touch:  /var/app/data/463609-data.txt: No such file or directory
sh:  sleep: not found
touch:  /var/app/data/463610-data.txt: No such file or directory
sh:  sleep: not found

Can you please advise on what I am doing wrong? I tried updating the manifest mountPath with and without double quotes. Thank you.

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.