You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Examples are successfully deployed to k8s v1.16 cluster.
helm-deployment
helm-deployment-dependencies
Actual behavior
skaffold dev exits with an error.
$ cd ~/go/src/github.com/GoogleContainerTools/skaffold/examples/helm-deployment
$ skaffold dev
Listing files to watch...
- gcr.io/decent-space-249411/skaffold-helm
Generating tags...
- gcr.io/decent-space-249411/skaffold-helm -> gcr.io/decent-space-249411/skaffold-helm:latest
Checking cache...
- gcr.io/decent-space-249411/skaffold-helm: Found Locally
Tags used in deployment:
- gcr.io/decent-space-249411/skaffold-helm -> gcr.io/decent-space-249411/skaffold-helm:3987783aa1d45ad1c1ea91d31f52d51549db25986c58676ae1141f4ccd547b4c
local images can't be referenced by digest. They are tagged and referenced by a unique ID instead
Starting deploy...
Helm release skaffold-helm not installed. Installing...
No requirements found in skaffold-helm/charts.
Error: validation failed: unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1"
WARN[0001] error retrieving helm deployment info: Error: release: "skaffold-helm" not found
Cleaning up...
Error: release: "skaffold-helm" not found
FATA[0001] exiting dev mode because first deploy failed: deploying skaffold-helm: exit status 1
Information
Skaffold version: v0.41.0
Operating system: macOS Catalina 10.15.1
Contents of skaffold.yaml:
apiVersion: skaffold/v1beta17kind: Configbuild:
tagPolicy:
sha256: {}artifacts:
- image: gcr.io/decent-space-249411/skaffold-helmdeploy:
helm:
releases:
- name: skaffold-helmchartPath: skaffold-helm#wait: true#valuesFiles:#- helm-skaffold-values.yamlvalues:
image: gcr.io/decent-space-249411/skaffold-helm#recreatePods will pass --recreate-pods to helm upgrade#recreatePods: true#overrides builds an override values.yaml file to run with the helm deploy#overrides:# some:# key: someValue#setValues get appended to the helm deploy with --set.#setValues:#some.key: someValue
Thanks for opening @oke-py - I'm wondering how the upgraded examples will work against older clusters? Typically what we're aiming for is to support the oldest supported GKE cluster K8s version.
The v1.16 release will stop serving the following deprecated API versions in favor of newer and more stable API versions:
NetworkPolicy (in the extensions/v1beta1 API group)
Migrate to use the networking.k8s.io/v1 API, available since v1.8. Existing persisted data can be retrieved/updated via the networking.k8s.io/v1 API.
PodSecurityPolicy (in the extensions/v1beta1 API group)
Migrate to use the policy/v1beta1 API, available since v1.10. Existing persisted data can be retrieved/updated via the policy/v1beta1 API.
DaemonSet, Deployment, StatefulSet, and ReplicaSet (in the extensions/v1beta1 and apps/v1beta2 API groups)
Migrate to use the apps/v1 API, available since v1.9. Existing persisted data can be retrieved/updated via the apps/v1 API.
The v1.20 release will stop serving the following deprecated API versions in favor of newer and more stable API versions:
Ingress (in the extensions/v1beta1 API group)
Migrate to use the networking.k8s.io/v1beta1 API, serving Ingress since v1.14. Existing persisted data can be retrieved/updated via the networking.k8s.io/v1beta1 API.
1.9+ supports apps/v1 Deployment. Other examples already use apps/v1.
1.14+ supports networking.k8s.io/v1beta1 Ingress, extensions/v1beta1 Ingress has not yet removed. It might be better to keep using extensions/v1beta1 ?
Expected behavior
Examples are successfully deployed to k8s v1.16 cluster.
Actual behavior
skaffold dev
exits with an error.Information
https://github.com/GoogleContainerTools/skaffold/blob/master/examples/helm-deployment/skaffold.yaml
Steps to reproduce the behavior
minikube start --kubernetes-version=v1.16.2
kubectl apply -f ~/go/src/gitlab.com/cloudnative_impress/tutorial/chap06/helm/tiller-rbac.yaml
helm init --service-account tiller
git clone https://github.com/GoogleContainerTools/skaffold.git
cd skaffold/examples/helm-deployment
skaffold dev
Deployment apiVersion should be updated to apps/v1.
The text was updated successfully, but these errors were encountered: