📢 Kubebuilder v3.6.0 has been released!

12 views
Skip to first unread message

Camila Macedo

unread,
Aug 5, 2022, 6:21:22 AM8/5/22
to kubebuilder

📢 Kubebuilder v3.6.0[0] has been released! 


This release includes new alpha optional plugins, which are initial versions built as part of the Google Summer Code 2022 program[1]:

  • (grafana/v1-alpha)

Grafana plugin is an optional plugin that can be used to scaffold  Grafana Dashboards (in JSON format) which can be imported into it to allow users to check out metrics. (More info[2]). Author: @TianYi(Tony)  (https://github.com/Kavinjsir)

How to use:

  • To initialize a new project with Grafana plugin: 

$ kubebuilder init --plugins grafana.kubebuilder.io/v1-alpha

  • To enable Grafana plugin to an existing project: 

$ kubebuilder edit --plugins grafana.kubebuilder.io/v1-alpha

See an example of its scaffolds here[6]. Also, if you would like to check out its demo, see:    https://www.youtube.com/watch?v=-w_JjcV8jXc

  • (deploy.image/v1-alpha)


Deploy Image plugin allows users to scaffold API/Controllers to deploy and manage an Operand (image) on the cluster following the guidelines and best practices. It abstracts the complexities of achieving this goal while allowing users to customize the generated code. (More info[3]). Author: @Nikhil Sharma (https://github.com/NikhilSharmaWe)


How to use: 

  $ kubebuilder create api [DEFAULT OPTIONS] –plugins="deploy-image/v1-alpha" --image=<operand image>

Example for you to try it out:

$ kubebuilder init

$ kubebuilder create api --group example.com --version v1alpha1 --kind Memcached \

--image=memcached:1.6.15-alpine \

--image-container-command="memcached,-m=64,modern,-v" \ --image-container-port="11211" \

--run-as-user="1001" \

--plugins="deploy-image/v1-alpha"


See an example of its scaffolds by looking at the testdata project-v3-with-deploy-image/ sample[5].

🙌 We would like to ask for your collaboration to try them out. We are looking for your feedback. 


Therefore, if you face issues or would like to propose changes, please do not hesitate to open an issue in the Kubebuilder repository with your request[4]. Also, feel free to contribute with pull requests. 


🚀 Your collaboration in Kubebuilder is very welcome! 


Furthermore, this release includes dependency upgrades; K8s to 1.24.2, controller-gen from v0.9.0 to v0.9.2 and controller-runtime from v0.12.1 to v0.12.2. Also, upgrade of kube-rbac-proxy container image from v0.12.0 to v0.13.0 and provide a new go/v4-alpha plugin which adds support for Apple Silicon/M1 (darwin/arm64).


For more info, see the release page: https://github.com/kubernetes-sigs/kubebuilder/releases/tag/v3.6.0 


:🎉  Thanks to all our contributors!


[0] - https://github.com/kubernetes-sigs/kubebuilder/releases/tag/v3.6.0

[1] - https://summerofcode.withgoogle.com/

[2] - https://master.book.kubebuilder.io/plugins/grafana-v1-alpha.html

[3] - https://master.book.kubebuilder.io/plugins/deploy-image-plugin-v1-alpha.html

[4] - https://github.com/kubernetes-sigs/kubebuilder/issues/new/choose

[5] - https://github.com/kubernetes-sigs/kubebuilder/tree/master/testdata/project-v3-with-deploy-image

[6] - https://github.com/kubernetes-sigs/kubebuilder/tree/master/testdata/project-v3-addon-and-grafana/grafana



CAMILA MACEDO

SR. SOFTWARE ENGINEER 

RED HAT Operator framework

Red Hat UK

She / Her / Hers

IM: cmacedo

I respect your work-life balance. Therefore there is no need to answer this email out of your office hours.



Camila Macedo

unread,
Aug 15, 2022, 5:45:59 AM8/15/22
to kubebuilder
Hi All, 

In the latest Community Meeting, we could check out the demonstration of the new deploy.image/v1-alpha[1] plugin shipped in the latest release, v3.6.0[2]. Therefore, if you could not attend, we just would like to share the video:


🙌 We would like to ask for your collaboration to try it out. We are looking for your feedback. 


Therefore, if you face issues or would like to propose changes, please do not hesitate to open an issue in the Kubebuilder repository with your request[3]. Also, feel free to contribute with pull requests. 


🚀 Your collaboration with Kubebuilder is very welcome! 


Cheers, 


CAMILA MACEDO

SR. SOFTWARE ENGINEER 

RED HAT Operator framework

Red Hat UK

She / Her / Hers

IM: cmacedo

I respect your work-life balance. Therefore there is no need to answer this email out of your office hours.

Reply all
Reply to author
Forward
0 new messages