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
docs: update instructions for building kubectl-retina (#143)
I previously removed the kubectl-retina container and
kubectl-retina-image Make targets in #112, which transitioned to
building kubectl-retina artifacts with GoReleaser and attaching tarballs
to the GitHub releases instead of publishing images.
That change was made for Krew #108.
This change updates the docs for building kubectl-retina to show how to
simply build it with `go build`. Explanation was also added describing
how to build for all supported platforms with GoReleaser.
Signed-off-by: Evan Baker <[email protected]>
Copy file name to clipboardexpand all lines: README.md
+12-11
Original file line number
Diff line number
Diff line change
@@ -41,9 +41,9 @@ Prerequisites: Go, Helm
41
41
42
42
1. Clone the repo, then install Retina on your Kubernetes cluster
43
43
44
-
```bash
45
-
make helm-install
46
-
```
44
+
```bash
45
+
make helm-install
46
+
```
47
47
48
48
2. Follow steps in [Using Prometheus and Grafana](https://retina.sh/docs/installation/prometheus-unmanaged) to set up metrics collection and visualization.
49
49
@@ -55,22 +55,23 @@ Currently, Retina CLI only supports Linux.
55
55
56
56
- Option 1: Download from Release
57
57
58
-
Download `kubectl-retina` from the latest [Retina release](https://github.com/microsoft/retina/releases).
58
+
Download the correct `kubectl-retina` package for your platform from the latest [Retina release](https://github.com/microsoft/retina/releases).
59
59
Feel free to move the binary to `/usr/local/bin/`, or add it to your `PATH` otherwise.
60
60
61
61
- Option 2: Build from source
62
62
63
63
Requirements:
64
64
65
65
- go 1.21 or newer
66
-
- GNU make
67
66
68
67
Clone the Retina repo and execute:
69
68
70
69
```shell
71
-
make install-kubectl-retina
70
+
go build -o bin/kubectl-retina cli/main.go
72
71
```
73
72
73
+
and move bin/kubectl-retina in to your $PATH.
74
+
74
75
Execute Retina:
75
76
76
77
```shell
@@ -85,15 +86,15 @@ Prerequisites: Go, Helm
85
86
86
87
1. Clone the repo, then install Retina with Capture operator support on your Kubernetes cluster
87
88
88
-
```bash
89
-
make helm-install-with-operator
90
-
```
89
+
```bash
90
+
make helm-install-with-operator
91
+
```
91
92
92
93
2. Follow steps in [Capture CRD](https://retina.sh/docs/captures/#option-2-capture-crd-custom-resource-definition) for documentation of the CRD and examples for setting up Captures.
93
94
94
95
## Contributing
95
96
96
-
This project welcomes contributions and suggestions. Most contributions require you to agree to a
97
+
This project welcomes contributions and suggestions. Most contributions require you to agree to a
97
98
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
98
99
the rights to use your contribution. For details, visit <https://cla.opensource.microsoft.com>.
99
100
@@ -130,7 +131,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope
130
131
131
132
For bugs or feature requests, open an [issue](https://github.com/microsoft/retina/issues).
132
133
For security or vulnerability concerns, see [SECURITY.md](SECURITY.md).
133
-
For other communication, contact the maintainers at <[email protected]>
134
+
For other communication, contact the maintainers at <[email protected]>
0 commit comments