File tree Expand file tree Collapse file tree 8 files changed +72
-8
lines changed Expand file tree Collapse file tree 8 files changed +72
-8
lines changed Original file line number Diff line number Diff line change
1
+ To push the docs run:
2
+
3
+ - gitbook build
4
+ - docker build . -t gcr.io/kubebuilder/book
5
+ - docker push gcr.io/kubebuilder/book
6
+ - kubectl delete pods -l run=gitbook-prod
Original file line number Diff line number Diff line change 14
14
15
15
* Development Workflow
16
16
* [ Project Creation and Structure] ( basics/project_creation_and_structure.md )
17
- * [ Running Tests] ( basics/running_tests.md )
18
- * [ Generating API Documentation] ( basics/generating_documentation.md )
19
17
* Resource Fundamentals
20
18
* [ What is a Resource] ( basics/what_is_a_resource.md )
21
19
* [ Simple Resource Example] ( basics/simple_resource.md )
28
26
* [ What is the Controller-Manager] ( basics/what_is_the_controller_manager.md )
29
27
* [ Simple Controller-Manager] ( basics/simple_controller_manager.md )
30
28
29
+ ### Beyond the Basics
30
+
31
+ * Development Workflow
32
+ * [ Running Tests] ( beyond_basics/running_tests.md )
33
+ * [ Generating API Documentation] ( beyond_basics/generating_documentation.md )
34
+ * [ Updating Kubebuilder] ( beyond_basics/upgrading_kubebuilder.md )
35
+ * Controllers
36
+ * [ Controllers For Core Resources] ( beyond_basics/controllers_for_core_resources.md )
37
+
38
+
31
39
### Reference Docs
32
40
* [ GoDoc Links] ( go_docs.md )
Original file line number Diff line number Diff line change
1
+ {% panel style="info", title="Under Development" %}
2
+ This book is being actively developed.
3
+ {% endpanel %}
4
+
5
+ ## Controllers for Core Resources
6
+
7
+ {% method %}
8
+
9
+ It it possible to create Controllers for Core resources, or for resources defined outside your project.
10
+
11
+ {% sample lang="bash" %}
12
+ ``` bash
13
+ kubebuilder create controller --group apps --version v1beta2 --kind Deployment --core-type
14
+ ```
15
+ {% endmethod %}
16
+
17
+ {% panel style="warning", title="Core Only Projects" %}
18
+ If your project will * only* contain controllers for types defined outside your project,
19
+ you must create the project with the ` --controller-only ` flag.
20
+ {% endpanel %}
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ {% panel style="info", title="Under Development" %}
2
+ This book is being actively developed.
3
+ {% endpanel %}
4
+
5
+ # Update Kubebuilder
6
+
7
+ ## Update the Kubebuilder install
8
+
9
+ Download the latest version of kubebuilder from [ releases page] ( https://github.com/kubernetes-sigs/kubebuilder/releases )
10
+ and install it.
11
+
12
+ ## Update Existing Project's Dependencies
13
+
14
+ {% method %}
15
+
16
+ Update your project's dependencies to the latest version of the libraries used by kubebuilder. This
17
+ will modify * Gopkg.toml* by rewriting the ` [[override]] ` elements beneath the
18
+ ` # DO NOT MODIFY BELOW THIS LINE. ` line. Rules added by the user above this line will be retained.
19
+
20
+ {% sample lang="bash" %}
21
+ ``` bash
22
+ kubebuilder update vendor
23
+ ```
24
+ {% endmethod %}
25
+
26
+
Original file line number Diff line number Diff line change @@ -23,11 +23,11 @@ Kubebuilder can then setup a project in the user's `GOPATH`.
23
23
{% sample lang="mac" %}
24
24
``` bash
25
25
# download the release
26
- curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v0.1.8 /kubebuilder_0.1.8_darwin_amd64 .tar.gz
26
+ curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v0.1.9 /kubebuilder_0.1.9_darwin_amd64 .tar.gz
27
27
28
28
# extract the archive
29
- tar -zxvf kubebuilder_0.1.8_darwin_amd64 .tar.gz
30
- sudo mv kubebuilder_0.1.8_darwin_amd64 /usr/local/kubebuilder
29
+ tar -zxvf kubebuilder_0.1.9_darwin_amd64 .tar.gz
30
+ sudo mv kubebuilder_0.1.9_darwin_amd64 /usr/local/kubebuilder
31
31
32
32
# update your PATH to include /usr/local/kubebuilder/bin
33
33
export PATH=$PATH :/usr/local/kubebuilder/bin
@@ -36,11 +36,11 @@ export PATH=$PATH:/usr/local/kubebuilder/bin
36
36
{% sample lang="linux" %}
37
37
``` bash
38
38
# download the release
39
- wget https://github.com/kubernetes-sigs/kubebuilder/releases/download/v0.1.8 /kubebuilder_0.1.8_linux_amd64 .tar.gz
39
+ wget https://github.com/kubernetes-sigs/kubebuilder/releases/download/v0.1.9 /kubebuilder_0.1.9_linux_amd64 .tar.gz
40
40
41
41
# extract the archive
42
- tar -zxvf kubebuilder_0.1.8_linux_amd64 .tar.gz
43
- sudo mv kubebuilder_0.1.8_linux_amd64 /usr/local/kubebuilder
42
+ tar -zxvf kubebuilder_0.1.9_linux_amd64 .tar.gz
43
+ sudo mv kubebuilder_0.1.9_linux_amd64 /usr/local/kubebuilder
44
44
45
45
# update your PATH to include /usr/local/kubebuilder/bin
46
46
export PATH=$PATH :/usr/local/kubebuilder/bin
Original file line number Diff line number Diff line change
1
+ {% panel style="info", title="Under Development" %}
2
+ This book is being actively developed.
3
+ {% endpanel %}
4
+
1
5
# Quick Start
2
6
3
7
This Quick Start guide will cover.
You can’t perform that action at this time.
0 commit comments