Skip to content

Commit f974892

Browse files
authored
fix: updates to quickstart (#49)
Signed-off-by: Evan Baker <[email protected]>
1 parent 88c8ed2 commit f974892

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

Makefile

+3-8
Original file line numberDiff line numberDiff line change
@@ -397,10 +397,9 @@ manifests:
397397

398398
# basic/node-level mode
399399
helm-install: manifests
400-
helm install retina ./deploy/manifests/controller/helm/retina/ \
400+
helm upgrade --install retina ./deploy/manifests/controller/helm/retina/ \
401401
--namespace kube-system \
402402
--set image.repository=$(IMAGE_REGISTRY)/$(RETINA_IMAGE) \
403-
--set image.tag=$(RETINA_PLATFORM_TAG) \
404403
--set image.initRepository=$(IMAGE_REGISTRY)/$(RETINA_INIT_IMAGE) \
405404
--set image.pullPolicy=Always \
406405
--set logLevel=info \
@@ -410,17 +409,15 @@ helm-install: manifests
410409

411410
# advanced/pod-level mode with scale limitations, where metrics are aggregated by source and destination Pod
412411
helm-install-advanced-remote-context: manifests
413-
helm install retina ./deploy/manifests/controller/helm/retina/ \
412+
helm upgrade --install retina ./deploy/manifests/controller/helm/retina/ \
414413
--namespace kube-system \
415414
--set image.repository=$(IMAGE_REGISTRY)/$(RETINA_IMAGE) \
416-
--set image.tag=$(RETINA_PLATFORM_TAG) \
417415
--set image.initRepository=$(IMAGE_REGISTRY)/$(RETINA_INIT_IMAGE) \
418416
--set image.pullPolicy=Always \
419417
--set logLevel=info \
420418
--set os.windows=true \
421419
--set operator.enabled=true \
422420
--set operator.enableRetinaEndpoint=true \
423-
--set operator.tag=$(RETINA_PLATFORM_TAG) \
424421
--set operator.repository=$(IMAGE_REGISTRY)/$(RETINA_OPERATOR_IMAGE) \
425422
--skip-crds \
426423
--set enabledPlugin_linux="[\"dropreason\"\,\"packetforward\"\,\"linuxutil\"\,\"dns\",\"packetparser\"\]" \
@@ -429,17 +426,15 @@ helm-install-advanced-remote-context: manifests
429426

430427
# advanced/pod-level mode designed for scale, where metrics are aggregated by "local" Pod (source for outgoing traffic, destination for incoming traffic)
431428
helm-install-advanced-local-context: manifests
432-
helm install retina ./deploy/manifests/controller/helm/retina/ \
429+
helm upgrade --install retina ./deploy/manifests/controller/helm/retina/ \
433430
--namespace kube-system \
434431
--set image.repository=$(IMAGE_REGISTRY)/$(RETINA_IMAGE) \
435-
--set image.tag=$(RETINA_PLATFORM_TAG) \
436432
--set image.initRepository=$(IMAGE_REGISTRY)/$(RETINA_INIT_IMAGE) \
437433
--set image.pullPolicy=Always \
438434
--set logLevel=info \
439435
--set os.windows=true \
440436
--set operator.enabled=true \
441437
--set operator.enableRetinaEndpoint=true \
442-
--set operator.tag=$(RETINA_PLATFORM_TAG) \
443438
--set operator.repository=$(IMAGE_REGISTRY)/$(RETINA_OPERATOR_IMAGE) \
444439
--skip-crds \
445440
--set enabledPlugin_linux="[\"dropreason\"\,\"packetforward\"\,\"linuxutil\"\,\"dns\",\"packetparser\"\]" \

README.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,15 @@ Retina is currently supported in AKS. It has two major features:
2424

2525
### Quick Install Guide
2626

27-
1. Create a Kubernetes cluster with a minimum of 2 nodes. Retina supports Linux (Ubuntu) and Windows (2019 and 2022) nodes.
28-
2. Follow steps in [Using Managed Prometheus and Grafana](https://retina.sh/docs/installation/prometheus-azure-managed)
27+
Prerequisites: Go, Helm
28+
29+
1. Clone the repo, then install Retina on your Kubernetes cluster
30+
31+
```bash
32+
make helm-install
33+
```
34+
35+
2. Follow steps in [Using Managed Prometheus and Grafana](https://retina.sh/docs/installation/prometheus-azure-managed) to set up metrics collection and visualization.
2936

3037
### Captures
3138

deploy/manifests/controller/helm/retina/templates/daemonset.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ spec:
3535
- name: bpf
3636
mountPath: /sys/fs/bpf
3737
mountPropagation: Bidirectional
38+
{{- range $name, $mountPath := .Values.volumeMounts }}
39+
- name: {{ $name }}
40+
mountPath: {{ $mountPath }}
41+
{{- end }}
3842
containers:
3943
- name: {{ include "retina.name" . }}
4044
livenessProbe:

deploy/manifests/controller/helm/retina/values.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ apiServer:
5050
# Supported - debug, info, error, warn, panic, fatal.
5151
logLevel: debug
5252

53-
enabledPlugin_linux: '["dropreason","packetforward","linuxutil", "dns"]'
53+
enabledPlugin_linux: '["dropreason","packetforward","linuxutil","dns"]'
5454
enabledPlugin_win: '["hnsstats"]'
5555

5656
enableTelemetry: true
@@ -84,7 +84,7 @@ volumeMounts:
8484
tmp: /tmp
8585
config: /retina/config
8686

87-
#volume mounts for indows
87+
#volume mounts for windows
8888
volumeMounts_win:
8989
retina-config-win: retina
9090

0 commit comments

Comments
 (0)