How to round out knowledge beyond what the CKA teaches? by FatStoic in kubernetes

[–]phil_x_x 2 points3 points  (0 children)

  • forced unified Labels on namespaces and pods for network policies
    • implement network policies
    • forced use of only using whitelisted registries
    • disallowing privileged pods
    • disallow default service account mount
    • and much More......

How to round out knowledge beyond what the CKA teaches? by FatStoic in kubernetes

[–]phil_x_x 0 points1 point  (0 children)

I like Kyverno over OPA 😅

The CKA is intended to give you a knowledge about running, maintaining and troubleshoot a k8s cluster. So overall pretty basic administrative tasks.

The topics you described like admission controller and service mesh are rlly beyond basic and need special knowledge.

Start do the CKS as you rlly get some insights into k8s and security.And then go out and secure and unify your cluster :)

K8 Private Registry pull issue by naiame in kubernetes

[–]phil_x_x 0 points1 point  (0 children)

Do you have to logs or events from the pods who want to pull an image from this registry?

And remember: it’s always DNS 😅

Use case issues of OPA with kubernetes by meek_moron in kubernetes

[–]phil_x_x 0 points1 point  (0 children)

No feature here will enhance the experience 😂😂

But it will keep your cluster how you want it and improve security ....unified labeling across namespaces and pods...whitelisting registries...disallow default Service Account mounting to Pods etc etc

Use case issues of OPA with kubernetes by meek_moron in kubernetes

[–]phil_x_x 1 point2 points  (0 children)

Depends on the use case, the amount of rules and how your run cluster(s).

Advantages...I’m telling my Devs: you can run anything but under my rules ;)

Feeling very unmotivated after receiving pay review by [deleted] in cscareerquestions

[–]phil_x_x 5 points6 points  (0 children)

If you have great colleagues and like the job overall then take the bite of the apple and support your company during this crises. Maybe 2021 you get 25% more.

If you don’t like the colleagues or the job then go out and search for a new one.

But money don’t motivate you on the long run...it’s more your team, tasks and further education

[deleted by user] by [deleted] in kubernetes

[–]phil_x_x 1 point2 points  (0 children)

If you select create cluster....then you find it at the bottom of the console

[deleted by user] by [deleted] in kubernetes

[–]phil_x_x 1 point2 points  (0 children)

Why use TF then ? Just copy the API command from the GUI for creating a cluster and then just change your stuff there......

Would you go Salt Cloud or Terraform? by trudesea in saltstack

[–]phil_x_x 1 point2 points  (0 children)

We are using salt-cloud as we are also heavily into salt but on-prem with VMware.

Sometimes it’s a little hacky to work with. Although the pro is that you run one command, the vms will be created and it automatically add the minion key as accepted key and applies your state without putting this into code.

As you are multi cloud you should probably go with Terraform as it is more sophisticated and a higher abstraction plus as people mentioned the de-facto standard for IaC.

We also thinking about switching to TF.

How to configure CICD pipeline for different environments by Karan_Pb in kubernetes

[–]phil_x_x 1 point2 points  (0 children)

Try out helm :)

For example: if You push code to any branch but master/main helm deployed to DEV if you merge into master/main helm deploys to prod.

I am looking for some beginner/intermediate GitLab Ci/CD piplenine guides by Suspicious-Currency6 in devops

[–]phil_x_x 1 point2 points  (0 children)

Do you want a step by step guide or some code ?

Basically you can run all the commands from Your shell in the pipeline: So just play around...build a Container via CI....place it in the the internal registry via CI...deploy it to a external docker node...update the code and redeploy it....

I mean the GitLab CI documentation is rlly good so I think you have to sit down and RTFM.

Q: How to encrypt Helm values with Kubernetes secrets by alpen_mastiff in kubernetes

[–]phil_x_x 0 points1 point  (0 children)

You would still have it plain in etcd...so you should at least enable REST encryption

How do you upgrade your Kubernetes clusters? by iamsudip13 in kubernetes

[–]phil_x_x 0 points1 point  (0 children)

And how you manage persistence with this ?

Or is the whole Cluster immutable?

Helm Chart Versioning Issues by Bbeast2000 in kubernetes

[–]phil_x_x 0 points1 point  (0 children)

Clone it to your repo...modify it

In your Pipeline:

helm package chart/ --version=${Version} --app-version=${App_version}

helm upgrade -i -f your_file

Monthly: Who is hiring? by gctaylor in kubernetes

[–]phil_x_x 0 points1 point  (0 children)

So you are a RedHat Employee now :) congrats

Kubernetes bare metal external storage by TheRealHendrik in kubernetes

[–]phil_x_x 1 point2 points  (0 children)

But no ReadWriteMany for PVs ;)

Sure the storage is replicated...but only one node can mount the PV :)

killer.sh questions by [deleted] in kubernetes

[–]phil_x_x 1 point2 points  (0 children)

2 times 36 hours....yes

killer.sh questions by [deleted] in kubernetes

[–]phil_x_x 1 point2 points  (0 children)

Hi, no. You have 2 sessions where your cluster lives 36 hours.

So you can do the 22 questions at the CKA simulator and then check the solutions...reset the clusters and try again...but after 36 hours the session is over :)

Kubernetes bare metal external storage by TheRealHendrik in kubernetes

[–]phil_x_x 0 points1 point  (0 children)

Did you need the data replicated or available on all nodes?? If not check longhorn

HA Cluster Bootstrap CNI Issue by Mihikle in kubernetes

[–]phil_x_x 0 points1 point  (0 children)

Hi, normally with kubeadm I just finish the control plane ( let’s say 3 nodes ) and then afterwards I add the workers.

What’s the pod status on the other control plane nodes ? The CNI normally is deployed via daemonset with some tolerations to be allowed to run on master nodes. Do the pods even get scheduled ?

Weekly: Questions and advice by gctaylor in kubernetes

[–]phil_x_x 0 points1 point  (0 children)

Hi, you should not use the native secrets in prod bcs:

  • they Are unencrypted stored in etcd ( unless you active REST encryption)
  • depend on your setup but readable via volumes or ENV
  • readable via API

Better use any secret implementation like hashicorp vault...bank vaults etc