#kubernetes (2023-03)

kubernetes

Archive: https://archive.sweetops.com/kubernetes/

2023-03-01

Andy avatar

Is anyone here using: • EKS • istio-cni • istio sidecars? Just want to confirm if you should see istio-init containers when using istio-cni (we are!) The documentation suggests that you shouldn’t :thinking_face:

The Istio CNI plugin replaces the functionality provided by the istio-init container.

Install Istio with the Istio CNI plugin

Install and use Istio with the Istio CNI plugin, allowing operators to deploy services with lower privilege.

2023-03-07

timduhenchanter avatar
timduhenchanter

Anyone ever had cURL periodically throw 000 for Kubernetes CronJobs that are making internal HTTP POST calls to K8S services? I don’t have any Network policy that is isolating namespaces defined and no Istio sidecar on the CronJob pod. If I set the job to sleep and interactively connect to the running job and make the same call I can’t reproduce. I have set a ReadinessProbe with an init delay to GET the same endpoint and that passes (with retries) and then the subsequent POST seemingly randomly fails. It is bizarre

Hugo Samayoa avatar
Hugo Samayoa

000 means cURL didn’t execute for some reason, See if you can capture the exit code which is different than 000

timduhenchanter avatar
timduhenchanter

Yeah, it is periodic. I added retries as a bandaid

timduhenchanter avatar
timduhenchanter

And some calls with be 000 and some calls will be 2XX. Again, none of them are 000 if I am calling cURL interactively from the pod.

timduhenchanter avatar
timduhenchanter
curl -s -o /dev/null -w "%{http_code}" --connect-timeout 10 --max-time 30 -H "Authorization:$SECRET" -XPOST <http://svcA.nsA.svc.cluster.local:8080/api/endpoint> -d ""

The call in the job for ref.

Hugo Samayoa avatar
Hugo Samayoa

Can you added a ; echo "Exit code: $? to the end of that?

Hugo Samayoa avatar
Hugo Samayoa

That might help debugging the situation

timduhenchanter avatar
timduhenchanter

Thank you for the suggestions

steve360 avatar
steve360

Anyone using kubedb by appscode? If so, can you share your experience?

KubeDB - Run Production-Grade Databases on Kubernetesattachment image

KubeDB simplifies Provision, Upgrade, Scaling, Volume Expansion, Monitor, Backup, Restore for various Databases in Kubernetes on any Public & Private Cloud

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

@Dan Miller (Cloud Posse) what was the rub here? I recall we tried using it.

KubeDB - Run Production-Grade Databases on Kubernetesattachment image

KubeDB simplifies Provision, Upgrade, Scaling, Volume Expansion, Monitor, Backup, Restore for various Databases in Kubernetes on any Public & Private Cloud

Dan Miller (Cloud Posse) avatar
Dan Miller (Cloud Posse)

We had a use case where we wanted to implement multiple DB operators for mysql and redis, and kubedb looked like it wouldve worked. However, kubedb is pay to use so we decided against it. Instead we used:

• mysql: https://github.com/bitpoke/mysql-operator

• redis: https://github.com/OT-CONTAINER-KIT/redis-operator

bitpoke/mysql-operator
OT-CONTAINER-KIT/redis-operator
1
1
1

2023-03-08

2023-03-13

2023-03-15

managedkaos avatar
managedkaos
k8s.gcr.io Redirect to registry.k8s.io - What You Need to Know

Authors: Bob Killen (Google), Davanum Srinivas (AWS), Chris Short (AWS), Frederico Muñoz (SAS Institute), Tim Bannister (The Scale Factory), Ricky Sadowski (AWS), Grace Nguyen (Expo), Mahamed Ali (Rackspace Technology), Mars Toktonaliev (independent), Laura Santamaria (Dell), Kat Cosgrove (Dell) On Monday, March 20th, the k8s.gcr.io registry will be redirected to the community owned registry, registry.k8s.io . TL;DR: What you need to know about this change On Monday, March 20th, traffic from the older k8s.

2

2023-03-20

Andy avatar

Is anyone using cast.ai for managing their clusters?

Cut over 50% of your cloud bill with AI-driven optimizationattachment image

Increase your profit margin without additional work. CAST AI cuts your cloud bill in half, automates DevOps tasks, and prevents downtime in one Autonomous Kubernetes platform.

Chris Fowles avatar
Chris Fowles

https://cast.ai/pricing/ their pricing model directly conflicts with what they’re trying to achieve - by pricing per cpu they earn less the better they are

Pricingattachment image

Start saving on your cloud bill now with automation. Discover CAST AI pricing and pick the best option for your business.

1
grem1in avatar
grem1in

Hello

I’ve started new Kubernetes Operations Survey. The goal is to better understand so-called “2nd day operations” on Kubernetes clusters e.g. upgrades, migrations, etc. I would appreciate it if you could spend a couple of minutes to fill that out!

Results of the last year’s survey are here.

Thank you!

Kubernetes Cluster Operations Survey by CatOps [2023]attachment image

Hello and thank you for participating in our Kubernetes Cluster Operations Survey!

The goal of this survey for us to have a glance on how do people manage their Kubernetes clusters, what is the adoption rate for cloud cluster management solutions, and what is the state of automation for Kubernetes clusters in general.

The results from the previous year are available here: https://grem1.in/post/k8s-survey-2022-1/

Dan Miller (Cloud Posse) avatar
Dan Miller (Cloud Posse)
08:20:03 PM

@Dan Miller (Cloud Posse) has joined the channel

2023-03-21

2023-03-28

Joaquin Menchaca avatar
Joaquin Menchaca

EKS no longer has a functional default storage class? I cannot create StatefulSet on 1.24 and 1.25, but I tried the same STS on 1.22 and it works fine.

venkata.mutyala avatar
venkata.mutyala

Yes on 1.24+ the csi driver needs to be added. I believe EKS has an addon for this. Alternatively you can install it into EKS yourself as a helm chart

Joaquin Menchaca avatar
Joaquin Menchaca

It’s not a walk in the park. I documented here. It’s required in 1.23+

https://gist.github.com/darkn3rd/d598f124872ed003fe062a7a3f1806ec#eks-elastic-kubernetes-service-v123-and-later

Joaquin Menchaca avatar
Joaquin Menchaca
Ultimate EKS Baseline Clusterattachment image

Proper Elastic Kubernetes Service Baseline Cluster

    keyboard_arrow_up