10 messages
MSaadover 3 years ago
Hello 👋
Anyone know or can point me to where i could find how one can delete kuberenets resources based on Age? I’m trying to build a cron job that would delete old services, pods, jobs, configmaps of a specific namespace. So for example something that would get all pods that are 2 days old of a specific namespace and run a kubectl delete pods command based on that list?
Anyone know or can point me to where i could find how one can delete kuberenets resources based on Age? I’m trying to build a cron job that would delete old services, pods, jobs, configmaps of a specific namespace. So for example something that would get all pods that are 2 days old of a specific namespace and run a kubectl delete pods command based on that list?
Andrew Rothover 3 years ago(edited)
Does anyone have a working example that uses https://github.com/cloudposse/terraform-aws-eks-workers? The example in the repo isn't a full end-to-end example, it just stands up the workers but doesn't actually stand up a cluster
ROover 3 years ago
Hi Guys, for someone who needs to be ready to work in a Kubernetes env, knowing how to navigate in an existing env and or new environment, I understand there is tutorials and such, I am looking more for step by step guide with showing a real use case-real company environment, that would be great. Would someone give me a hand and guidance?
ROover 3 years ago
Sorry if it is too vague. I understand a lot of people already come here with something, the thing is I need something ASAP as I wont have a lot of time to test whats best.
Igor Mover 3 years ago
Does anyone use terratest or similar for doing end-to-end tests on kubernetes (for ex. helm chart updates)?
Mocanu Marianover 3 years ago
Hello everyone!
I have a question on how to bind specific ports on a kubernetes cluster that runs inside a LXC using ingress. I'm trying to have Wazuh on a local server where I have a single-node k8s cluster. Wazuh is using ports like
I've tride using
Any ideas?
I have a question on how to bind specific ports on a kubernetes cluster that runs inside a LXC using ingress. I'm trying to have Wazuh on a local server where I have a single-node k8s cluster. Wazuh is using ports like
1514, 1515, 1516 and I can't use NodePort because the tool that needs to be installed on user machine is trying to connect to those ports.I've tride using
upstream and tcp/udp-services but with no luck. When I try to create an ingress for a specific port all the time it's pointing to port 80. I only was able to point the service to a different path IP*/something* .Any ideas?
Seanover 3 years ago(edited)
Likely dumb question from a
Q: Is it possible to patch a kustomization before generation? (client-side)
Scenario: I have this in a
Which I want to use across many clusters, for example:
But I want to alter the releaseName and possibly other values. Kustomize can set the global
kustomize noob.Q: Is it possible to patch a kustomization before generation? (client-side)
Scenario: I have this in a
./base/kustomization.yaml :apiVersion: <http://kustomize.config.k8s.io/v1beta1|kustomize.config.k8s.io/v1beta1>
kind: Kustomization
helmCharts:
- name: my-service
releaseName: my-service
namespace: my-service
## ... other kustomizationsWhich I want to use across many clusters, for example:
envs/dev/my-service/kustomization.yaml
envs/int/my-service/kustomization.yaml
envs/stg/my-service/kustomization.yaml
envs/prd/my-service/kustomization.yamlBut I want to alter the releaseName and possibly other values. Kustomize can set the global
namePrefix or nameSuffix but that doesn’t replace the entire release name.Adnanover 3 years ago
Is it possible to configure global basic auth for all ingresses without having to configure it for every ingress?
MSaadover 3 years ago
Hello, does anyone know if there is a way to run some kubectl commands that would compare a deployed helm version running in GKE on your cluster with a values.yaml to lets say the latest released helm chart (external helm chart e.g. prometheus)?