Category : kubernetes

I have a NextJS "^11.1.2" app, which gets build in a Dockerfile and deployed to production via CI/CD. But my process.env variables are not rendered I have this in my client side code, which should be rendered at runtime: const PublicApiUrl = process.env.NEXT_PUBLIC_API_URL; In my (Gitlab) CI/CD Pipeline I added via AUTO_DEVOPS_BUILD_IMAGE_EXTRA_ARGS some –build-args, as ..

Read more

I am having a little trouble understanding how workflow outputs work in Argo Workflows. Let’s look at the following example workflow from Argo. apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: generateName: output-parameter- spec: entrypoint: output-parameter templates: – name: output-parameter steps: – – name: generate-parameter template: whalesay – – name: consume-parameter template: print-message arguments: parameters: – name: message ..

Read more

My pod scaler fails to deploy, and keeps giving an error of FailedGetResourceMetric: Warning FailedComputeMetricsReplicas 6s horizontal-pod-autoscaler failed to compute desired number of replicas based on listed metrics for Deployment/default/bot-deployment: invalid metrics (1 invalid out of 1), first error is: failed to get cpu utilization: unable to get metrics for resource cpu: no metrics returned ..

Read more