This message was deleted.
# announcements
s
This message was deleted.
d
which version of kubernetes is your cluster running? there's this PR that removed the deprecated v1beta1 syntax in favor of
<http://networking.k8s.io/v1|networking.k8s.io/v1>
c
I’m on 1.22.6-gke.300
I upgraded to 1.22.6-gke.300 a few days ago. I’m not sure what it was when I originally deployed livekit-server
Sorry, I’m new to kubernetes. The 1.22.6 is my cluster version. When I look at the details of my livekit-server deployment I see app.kubernetes.io/version: v0.15.2. I’m not sure which one you’re referring to.
d
ah ok, which version of livekit are you upgrading to? the latest version should have addressed this.
c
I didn’t specify a version number so my understanding is that it would be whatever was the latest. I think it was 0.15.4
I’m using helm v3. I wonder if this line is the issue: https://github.com/livekit/livekit-helm/blob/f0c5a5d0574300c8935a762ce9d43f99a3d0dcb7/livekit-server/templates/ingress.yaml#L28 In helm v3 it should be .Capabilities.KubeVersion.Version according to docs: https://helm.sh/docs/chart_template_guide/builtin_objects/
d
@chilly-quill-96484 did you update the helm repo? It seems that you are using an older version. As mentioned, we no longer use
v1beta1
designation
c
I did. Still getting the error
d
can you run
helm template livekit-server livekit/livekit-server --namespace livekit --values livekit-server-values.yaml
and then check the
Ingress
yaml?
this is what I see:
Copy code
kind: Ingress
metadata:
  name: lk-test-livekit-server
  labels:
    <http://helm.sh/chart|helm.sh/chart>: livekit-server-0.15.5
    <http://app.kubernetes.io/name|app.kubernetes.io/name>: livekit-server
    <http://app.kubernetes.io/instance|app.kubernetes.io/instance>: lk-test
    <http://app.kubernetes.io/version|app.kubernetes.io/version>: "v0.15.5"
    <http://app.kubernetes.io/managed-by|app.kubernetes.io/managed-by>: Helm
apiVersion: <http://networking.k8s.io/v1|networking.k8s.io/v1>
c
Copy code
kind: Ingress
metadata:
  name: livekit-server
  labels:
    <http://helm.sh/chart|helm.sh/chart>: livekit-server-0.15.5
    <http://app.kubernetes.io/name|app.kubernetes.io/name>: livekit-server
    <http://app.kubernetes.io/instance|app.kubernetes.io/instance>: livekit-server
    <http://app.kubernetes.io/version|app.kubernetes.io/version>: "v0.15.5"
    <http://app.kubernetes.io/managed-by|app.kubernetes.io/managed-by>: Helm
apiVersion: <http://networking.k8s.io/v1|networking.k8s.io/v1>
d
right.. so I'm unsure why you are seeing errors.. perhaps start with a fresh install instead of upgrading
c
okay. I appreciate the help
I was able to upgrade successfully after following these instructions https://helm.sh/docs/topics/kubernetes_apis/#updating-api-versions-of-a-release-manifest
🙌 1
d
thanks for sharing the workaround!