Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

mysql-operator failed when installing to kubernetes 1.16.x #307

Open
kktam opened this issue Feb 9, 2020 · 4 comments
Open

mysql-operator failed when installing to kubernetes 1.16.x #307

kktam opened this issue Feb 9, 2020 · 4 comments

Comments

@kktam
Copy link

kktam commented Feb 9, 2020

Is this a BUG REPORT or FEATURE REQUEST?

BUG REPORT

When installing mysql-operator into Kubernetes 1.16 using helm, (following instructions from https://github.com/oracle/mysql-operator/blob/master/docs/tutorial.md) the installation failed with following error

helm install mysql-operator mysql-operator --debug
install.go:148: [debug] Original chart version: ""
install.go:165: [debug] CHART PATH: C:\Users\abc\code\digitalocean\mysql\mysql-operator\mysql-operator

Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta1"
helm.go:76: [debug] unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta1"
unable to build kubernetes objects from release manifest
helm.sh/helm/v3/pkg/action.(*Install).Run
        /home/circleci/helm.sh/helm/pkg/action/install.go:231
main.runInstall
        /home/circleci/helm.sh/helm/cmd/helm/install.go:209
main.newInstallCmd.func1
        /home/circleci/helm.sh/helm/cmd/helm/install.go:115
github.com/spf13/cobra.(*Command).execute
        /go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:826
github.com/spf13/cobra.(*Command).ExecuteC
        /go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914
github.com/spf13/cobra.(*Command).Execute
        /go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864
main.main
        /home/circleci/helm.sh/helm/cmd/helm/helm.go:75
runtime.main
        /usr/local/go/src/runtime/proc.go:203
runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:1357

Versions

MySQL Operator Version: based on github master branch, commit 9aebcc3 on May 15, 2019

Environment:

  • Kubernetes version (use kubectl version): 1.16.2
  • Cloud provider or hardware configuration: Digital Ocean Managed Kubernetes
  • OS (e.g. from /etc/os-release): Windows 10 Professional
  • Kernel (e.g. uname -a):
  • Others: Helm 3.0.1

What happened?

Helm install resulted in an error.

What you expected to happen?

Helm install chart into Kubernetes cluster.

How to reproduce it (as minimally and precisely as possible)?

Follow https://github.com/oracle/mysql-operator/blob/master/docs/tutorial.md

Anything else we need to know?

@kktam
Copy link
Author

kktam commented Feb 9, 2020

Wondering if this is related to following 2 bugs

helm/helm#7073 and
#304

@GLYASAI
Copy link

GLYASAI commented Feb 18, 2020

I have the same problem, so I modified the code, you can refer to this PR #308

@aesirteam
Copy link

kube-apiserver add args:
--runtime-config=api/all=true

try agian

@JannikZed
Copy link

facing the same issue.. when will PR #308 be merged?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants