renoki-co / charts Goto Github PK
View Code? Open in Web Editor NEWHelm Charts from Renoki Co. ๐
License: Apache License 2.0
Helm Charts from Renoki Co. ๐
License: Apache License 2.0
Issue
When using the charts we recently discovered that it is not compatible with newer Kubernetes clusters when utilizing pdb or autoscaling.
Problem 1: Usage of policy/v1beta1
The policy/v1beta1
API version of PodDisruptionBudget
is no longer served as of v1.25.
See: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#poddisruptionbudget-v125
Problem 2: Usage of autoscaling/v2beta2
The autoscaling/v2beta2
API version of HorizontalPodAutoscaler
is no longer served as of v1.26.
See: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#horizontalpodautoscaler-v126
Hi, On top of Openshift, when running the same helm chart using the default values, we got this error
Exec lifecycle hook ([/bin/sh -c cp /tmp/.env /var/www/html/.env && cp -r /var/www/html/. /app && cd /var/www/html && sh deploy.sh]) for Container "scheduler" in Pod "hello-lv-app-laravel (e358ee1c-a945-45b5-8521-523e2b8018d3)" failed - error: command '/bin/sh -c cp /tmp/.env /var/www/html/.env && cp -r /var/www/html/. /app && cd /var/www/html && sh deploy.sh' exited with 1: cp: can't create directory '/app': Permission denied , message: "cp: can't create directory '/app': Permission denied\n"
Any securitycontext must be tuned ?
Issue
The laravel-worker hpa.yaml (see: https://github.com/renoki-co/charts/blob/master/charts/laravel-worker/templates/hpa.yaml) is invalid due to L14:15 containing duplicate content.
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
Hey there! Thanks for the work you've put in on this. I tried to get the demo app rolling on my local minikube cluster and ran into this error:
helm upgrade laravel-app \
--install \
--version=0.11.0 \
renoki-co/laravel
Release "laravel-app" does not exist. Installing it now.
Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: [ValidationError(Ingress.spec.rules[0].http.paths[0].backend): unknown field "serviceName" in io.k8s.api.networking.v1.IngressBackend, ValidationError(Ingress.spec.rules[0].http.paths[0].backend): unknown field "servicePort" in io.k8s.api.networking.v1.IngressBackend, ValidationError(Ingress.spec.rules[0].http.paths[0]): missing required field "pathType" in io.k8s.api.networking.v1.HTTPIngressPath]
I am admittedly not awesome at Kube / Helm so it may be I am just doing something wrong. Here is my config as output by minikube:
๐ minikube v1.25.2 on Ubuntu 20.04 (amd64)
โจ Automatically selected the docker driver
๐ Starting control plane node minikube in cluster minikube
๐ Pulling base image ...
๐ฅ Creating docker container (CPUs=2, Memory=2200MB) ...
๐ณ Preparing Kubernetes v1.23.3 on Docker 20.10.12 ...
โช kubelet.housekeeping-interval=5m
โช Generating certificates and keys ...
โช Booting up control plane ...
โช Configuring RBAC rules ...
๐ Verifying Kubernetes components...
โช Using image gcr.io/k8s-minikube/storage-provisioner:v5
๐ Enabled addons: storage-provisioner, default-storageclass
๐ Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
Thanks!
Hi
I wonder if nginx unit is a good alternative to php-fpm
I was reading this: https://habr.com/en/post/646397/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.