-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Blake R <[email protected]>
- Loading branch information
1 parent
80d62e3
commit 7b51501
Showing
6 changed files
with
147 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Cilium Integration | ||
|
||
`idpBuilder` is extensible to launch custom Crossplane patterns using package extensions. This stack contains the code for integrating Cilium with IDPBuilder. | ||
|
||
```bash | ||
idpbuilder create --package https://github.com/cnoe-io/stacks//cilium-integration | ||
``` | ||
|
||
## What is installed? | ||
|
||
1. Cilium | ||
2. Hubble UI | ||
3. Tetragon | ||
|
||
Navigating to https://hubble.cnoe.localtest.me:8443/ will bring you to the Hubble UI where you can visualize the network traffic in the cluster. | ||
|
||
You can also run `kubectl logs -lapp.kubernetes.io/name=tetragon -n kube-system` to see processes running inside of the pods running from Tetragon. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: cilium | ||
namespace: argocd | ||
labels: | ||
env: dev | ||
finalizers: | ||
- resources-finalizer.argocd.argoproj.io | ||
spec: | ||
project: default | ||
source: | ||
repoURL: 'https://helm.cilium.io/' | ||
targetRevision: 1.16.1 | ||
helm: | ||
releaseName: cilium | ||
values: | | ||
image: | ||
pullPolicy: IfNotPresent | ||
operator: | ||
replicas: 1 | ||
ipam: | ||
mode: kubernetes | ||
hubble: | ||
relay: | ||
enabled: true | ||
ui: | ||
enabled: true | ||
chart: cilium | ||
destination: | ||
server: 'https://kubernetes.default.svc' | ||
namespace: kube-system | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: false | ||
syncOptions: | ||
- CreateNamespace=true | ||
ignoreDifferences: | ||
- kind: Secret | ||
name: cilium-ca | ||
jsonPointers: | ||
- /data | ||
- kind: Secret | ||
name: hubble-relay-client-certs | ||
jsonPointers: | ||
- /data | ||
- kind: Secret | ||
name: hubble-server-certs | ||
jsonPointers: | ||
- /data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
annotations: | ||
nginx.ingress.kubernetes.io/backend-protocol: HTTP | ||
name: hubble-ui-ingress | ||
namespace: kube-system | ||
spec: | ||
ingressClassName: nginx | ||
rules: | ||
- host: hubble.cnoe.localtest.me | ||
http: | ||
paths: | ||
- backend: | ||
service: | ||
name: hubble-ui | ||
port: | ||
number: 80 | ||
path: / | ||
pathType: Prefix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: hubble-ui | ||
namespace: argocd | ||
labels: | ||
env: dev | ||
finalizers: | ||
- resources-finalizer.argocd.argoproj.io | ||
spec: | ||
project: default | ||
source: | ||
repoURL: cnoe://hubble-ui-ingress | ||
targetRevision: HEAD | ||
path: "." | ||
directory: | ||
recurse: true | ||
destination: | ||
server: "https://kubernetes.default.svc" | ||
namespace: kube-system | ||
syncPolicy: | ||
syncOptions: | ||
- CreateNamespace=true | ||
- ServerSideApply=true | ||
automated: {} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: tetragon | ||
namespace: argocd | ||
labels: | ||
env: dev | ||
finalizers: | ||
- resources-finalizer.argocd.argoproj.io | ||
spec: | ||
project: default | ||
source: | ||
repoURL: 'https://helm.cilium.io/' | ||
targetRevision: 1.2.0 | ||
helm: | ||
releaseName: tetragon | ||
values: | | ||
tetragon: | ||
exportFilename: /dev/stdout | ||
exportAllowList: |- | ||
{"event_set":["PROCESS_EXEC", "PROCESS_EXIT", "PROCESS_UPROBE"]} | ||
chart: tetragon | ||
destination: | ||
server: 'https://kubernetes.default.svc' | ||
namespace: kube-system | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: false | ||
syncOptions: | ||
- CreateNamespace=true | ||
- ServerSideApply=true |