405 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-1
votes
1
answer
64
views
Pods not able to communicate via service url (created with Kustomize)
I have a single node with microk8s running. And the DNS plugin is defenitly enabled. But still pods cannot communitcate via the services, direct access via pod IP is working.
I read in kubernetes ...
0
votes
1
answer
805
views
Kustomize patching multiple path with same value
I am trying to see if there are other ways to run patches with multiple paths with the same value.
This is an example of my Kustomization where I am replacing it with the same value. Is there a way to ...
1
vote
1
answer
358
views
How to print contents of input files to kubectl kustomize command
I have a azure devops pipeline to deploy my helm chart to Kubernetes cluster.
In helm upgrade command I have specified --post-renderer which runs a script
This script runs command
kubectl kustomize ./
...
1
vote
1
answer
163
views
How can I inject content from one YAML file into a nested position in another YAML file using yq?
I have a file which i read using yq and I have to use the config in a kustomization template as yaml format.
So, the way I am reading the config from a file is below:
istio_ns_scoping_labels=$(yq -r '....
0
votes
2
answers
224
views
Kustomize patch doesn't patch base values - GKE Managed Certs
I'm trying to "templatize" the K8s manifests I currently use to generate my Google managed certificates on GKE. When I run kustomize build it runs successfully, but regardless of what ...
0
votes
1
answer
92
views
How to set a field in a Kustomize project dynamically?
We have an app described by a Kustomize project, deployed on Openshift by ArgoCD. The Namespace where the app is deployed is defined by ArgoCD (unknown in the Kustomize base & overlays).
Whithin ...
1
vote
2
answers
731
views
How to call a Kustomize patch after namespace transformation?
How to make kustomize run a patch after namespace transformation was done?
Example, to reproduce:
extensionconfig.yaml
apiVersion: runtime.cluster.x-k8s.io/v1alpha1
kind: ExtensionConfig
metadata:
...
0
votes
1
answer
711
views
How to exclude a resource when using namespace in kustomization.yaml?
Kustomize thinks that runtime.cluster.x-k8s.io/v1alpha1 ExtensionConfig is namespaced. But it is not.
How to make kustomize not add namespace: ... to metadata of these resources?
Example, to reproduce:...
2
votes
0
answers
43
views
Avoid creation of duplicate container (kustomize patch)
I have a kustomize patch which looks like this:
apiVersion: apps/v1
kind: Deployment
metadata:
name: foo
namespace: foo-system
spec:
template:
spec:
containers:
- name: backend
...
-1
votes
1
answer
57
views
Kubernetes kustomize configmap
I have to deploy app in kubernetes cluster,
There are different environment like dev , stg , prod.
Each environment has different configmap.
So using kustomize to create manifest files from the base ...
0
votes
0
answers
95
views
In K8s gitops kutomize - Is there a way to overwrite service's base yaml configuration with more environment specific
I'm new to K8s, gitops and kustomize. Our gitops folder structure has "base" folder which contains base configuration files and also "envs" folder in which we keep kustomization....
1
vote
1
answer
337
views
How can we configure ArgoCD Application to install from a github release downloads url?
A case in point - kube-blocks crds. We are supposed to install them directly from https://github.com/apecloud/kubeblocks/releases/download/v0.9.0/kubeblocks_crds.yaml.
If I do not want to download ...
0
votes
1
answer
165
views
Kustomize fails with Error: no matches for Id ScaledObject.v1alpha1.keda.sh
My base template is the following
apiVersion: keda.sh/v1alpha1
kind: TriggerAuthentication
metadata:
name: azure-queue-auth
spec:
podIdentity:
provider: azure | azure-workload
---
apiVersion: ...
0
votes
0
answers
177
views
How to mount a configMap into a persistentVolumeClaim?
So, I'm trying to teach myself kubernetes by example, and I've found a scenario I can't seem to find a good solution to. The general scenario is a container requires a config to have a path like /...
0
votes
1
answer
379
views
Kustomize image replacement stops working after pushing changes to git
I have rather unusual issue with Kustomize and/or git.
I'm using kustomize with openshift and have following catalog structure:
├── bases
│ └── deployment.yaml
├── kustomization.yaml
└── overlays
...