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

mysql-operator #314

Open
gouthamk10 opened this issue May 18, 2020 · 5 comments
Open

mysql-operator #314

gouthamk10 opened this issue May 18, 2020 · 5 comments

Comments

@gouthamk10
Copy link

Hi All.
just need help on below installing MySQL-operator with the below command.
I am getting the error

[root@k8s-master ~]# helm install \

--name mysql-operator
mysql-operator
Error: unknown flag: --name

@wagnerjfr
Copy link

wagnerjfr commented May 19, 2020

I think --name is the syntax for helm version 2. Helm version 3 you can do like:
helm install mysql-operator mysql-operator

Like I did in my repo:
https://github.com/wagnerjfr/oracle-mysql-operator-innodb-kubernetes

I double checked my steps today and it seems to work.

@gouthamk10
Copy link
Author

Hi Wagnerjfr.
Thanks for your follow up on the issue.
I cloned the mysql-operator from git hub

git clone git@github.com:oracle/mysql-operator.git
drwxr-xr-x 15 root root 4096 May 19 18:23 mysql-operator

2.the mysql-operator has been copied on my server
after that i cd to the directory
3. cd mysql-operator
4. after that i updated helm repo
helm repo update
[root@k8s-master mysql-operator]# helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "presslabs" chart repository
...Successfully got an update from the "banzaicloud-stable" chart repository
Update Complete. ⎈ Happy Helming!⎈

  1. I created name space
    kubectl create ns mysql-operator

  2. Then i ran the command to install
    helm install mysql-operator mysql-operator
    getting the belwo error now.
    Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta1"
    please let me know why i am getting the above error.

thanks
goutham

@bweston92
Copy link

@gouthamk10 your version of K8s above 1.15 see #308

@dhawal1304
Copy link

Is there any way i can run this on K8s 1.16 and above.

@bweston92
Copy link

@dhawal1304 #308 YMMV

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