You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: go/README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Let's get started.
13
13
14
14
Make sure you have the `go` command installed. You can find installation instructions in the [Go documentation](https://golang.org/dl/).
15
15
16
-
## Generating a resource definition
16
+
## Generating a Pod resource definition
17
17
18
18
First, create a new directory for the program that you are going to write:
19
19
@@ -82,7 +82,7 @@ go run main.go
82
82
83
83
The output is the JSON resource definition of a Pod.
84
84
85
-
Note that this JSON has no newlines and indentation, which makes it hard to read. If you want, you can pretty-print the JSON with `jq`:
85
+
Note that this JSON has no newlines and indentation, which makes it hard to read. If you want, you can pretty-print the JSON with [`jq`](https://stedolan.github.io/jq/):
86
86
87
87
```shell
88
88
$ go run main.go | jq
@@ -130,7 +130,7 @@ You can verify that the Pod has been created correctly with:
130
130
kubectl get pods
131
131
```
132
132
133
-
## Submitting a resource definition to the cluster
133
+
## Submitting a Pod resource definition to the cluster
134
134
135
135
Instead of saving the JSON resource definition to a file and then using kubectl to submit it to the cluster, you can submit the resource definition to the cluster directly in your code.
0 commit comments