Comments (21)
Ok so the deal is that kustomize git urls are a complete mess and there's a whole chaos of issues and PRs about it, with this being the latest: kubernetes-sigs/kustomize#4454
What worked for me was removing https:// and /tree/main from the url, so you have:
namespace: jitsi
bases:
- github.com/jitsi-contrib/jitsi-kubernetes/doc/kustomize
...
I can go ahead and make a PR for this.
from jitsi-kubernetes.
Please give us some feedback if this solves your problem.
Solution:
replace in your kustomization.yaml
file the line
- https://github.com/jitsi-contrib/jitsi-kubernetes/tree/main/doc/kustomize
with
- github.com/jitsi-contrib/jitsi-kubernetes/doc/kustomize
from jitsi-kubernetes.
I attempted a fresh microk8s installation on my local computer and ended up with the same Error, mentioning line 220.
Here are all commands i executed:
Installing Microk8s and dashboard:
sudo snap install microk8s --classic
sudo ufw allow in on cni0 && sudo ufw allow out on cni0
sudo ufw default allow routed
sudo microk8s enable dns dashboard storage
sudo microk8s status
sudo microk8s kubectl get all --all-namespaces
token=$(microk8s kubectl -n kube-system get secret | grep default-token | cut -d " " -f1)
sudo microk8s microk8s kubectl -n kube-system describe secret $token
Attempting installation with kustomize:
mkdir my-jitsi
cd my-jitsi
vim kustomization.yaml
vim 010-deployment.yaml
-> I took the ingress file out
-> I set the PUBLIC_URL to my IP
sudo microk8s kubectl create namespace jitsi
sudo microk8s kubectl create secret generic jitsi-config -n jitsi --from-literal=JICOFO_COMPONENT_SECRET=start --from-literal=JICOFO_AUTH_PASSWORD=start --from-literal=JVB_AUTH_PASSWORD=start
sudo microk8s kubectl apply -k ./my-jitsi
from jitsi-kubernetes.
Oh! Now I see that there is a typo in the docu.
The deployment file is 030-deployment.yaml
and not '010-.....'
I think this causes the problem. Just rename your 010-deployment.yaml
into 030-deployment.yaml
This should do the trick.
I will update the documentation. Please let me know if this works for you.
from jitsi-kubernetes.
I updated the file name and kustomization.yaml
Sadly the issue remains.
error: accumulating resources: accumulation err='accumulating resources from 'https://github.com/jitsi-contrib/jitsi-kubernetes/tree/main/doc/kustomize': yaml: line 225: mapping values are not allowed in this context': evalsymlink failure on '/tmp/kustomize-1066009744/tree/main/doc/kustomize' : lstat /tmp/kustomize-1066009744/tree: no such file or directory
from jitsi-kubernetes.
Then please take out the patchesStrategicMerge resoruce and test if this did work.
If yes, than something in your 030-deployment.yaml is incorrect.
from jitsi-kubernetes.
The attempt with just the kustomization.yaml, without the resources and patchesStrategicMerge files did not work either, same error.
I appreciate your support!
Another idea is, the containerization of snap could cause issues accessing the tmp files.
from jitsi-kubernetes.
ok, then I am no longer convinced that microk8s fully support kustomize. The error messages are also not helpful.
from jitsi-kubernetes.
Since I also do not know how to continue here, we have gone back to working with Kompose.
from jitsi-kubernetes.
Same issue here. I am on a bare metal cluster so i dont think it is because of microk8s.
from jitsi-kubernetes.
But kompose and kustomize are different concepts. I can't believe that you get the same error message. If so, it sounds to me that you have a different problem.
from jitsi-kubernetes.
@rsoika i get exactly the same error message
from jitsi-kubernetes.
We get more or less the same issue,
% kubectl apply -k ./my-jitsi error: accumulating resources: accumulation err='accumulating resources from 'https://github.com/jitsi-contrib/jitsi-kubernetes/tree/main/doc/kustomize': yaml: line 237: mapping values are not allowed in this context': evalsymlink failure on '/private/var/folders/q_/yfghdtd147xf71g9wf9fn66h0000gn/T/kustomize-954443534/tree/main/doc/kustomize' : lstat /private/var/folders/q_/yfghdtd147xf71g9wf9fn66h0000gn/T/kustomize-954443534/tree: no such file or directory
from jitsi-kubernetes.
Just to sort things out: if you remove the resources and patches in your kustzomiz file like the following one. Is it working?
namespace: jitsi
bases:
- https://github.com/jitsi-contrib/jitsi-kubernetes/tree/main/doc/kustomize
#resources:
#- 041-ingress.yaml
#patchesStrategicMerge:
#- 030-deployment.yaml
from jitsi-kubernetes.
I have tried the helm install. Helm install is working.
from jitsi-kubernetes.
Still same issues when resources and patches are removed..
namespace: jitsi
bases:
- https://github.com/jitsi-contrib/jitsi-kubernetes/tree/main/doc/kustomize
#resources:
#- 041-ingress.yaml
#patchesStrategicMerge:
#- 030-deployment.yaml
from jitsi-kubernetes.
Can someone narrow down the issue if this is related to the kubernetes environment/version? I am running in v1.21.6 and can not reproduce this kind of issue.
from jitsi-kubernetes.
I am running v1.22.4 in aks
from jitsi-kubernetes.
from jitsi-kubernetes.
same problem, k3s v1.22.7
from jitsi-kubernetes.
Yes you are totally right! There is in deed a wrong URL in the docu and I have overseen this all the time during this discussion.
from jitsi-kubernetes.
Related Issues (20)
- Provide a setup example for Kubernetes Kustomize HOT 2
- no matches for kind "Ingress" in version "networking.k8s.io/v1 HOT 1
- enabling jwt auth is not working HOT 13
- kustomize example not working HOT 5
- Typo in README of Kustomize example HOT 1
- JSA-2021-0004 - Log4J Patch HOT 2
- upgrade from version 6726 to 6826
- updating docker-compose file HOT 7
- Provide a Docker-Compose migration example HOT 3
- websocket connect error after when joined meet HOT 6
- do not see video after when join meet and jvb websocket connected HOT 1
- How can I configure JVB which is running on Linux server with Jitsi Kubernetes deployment ?
- API supports is too old to run 020-rbac.yaml HOT 2
- Rootless? HOT 5
- Documentation is not up-to-date HOT 11
- Jitsi kubernetes running in AWS EKS HOT 1
- Upgrade Container Versions to stable HOT 3
- Cannot have more than 2 users connected HOT 5
- Unable to record Video during meeting HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jitsi-kubernetes.