Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some documentations updates and simplifying daemonset scc #3

Merged
merged 2 commits into from
Jun 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,7 @@ Each openshift node reports L2 connectivity with a JSON log as shown below. The
}
```

In addition to frames with the experimental, frames with the ptp Ethertype are collected, but not transmitted. This helps identify which port are already receiving PTP protocol frames.

Frames with the ptp Ethertype are also collected, but not transmitted. This helps identify which port are already receiving PTP protocol frames.

![discovery_workflow](doc/ethertypeListening.svg)
4 changes: 4 additions & 0 deletions doc/ethertypeListening.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 14 additions & 10 deletions resources/daemonset.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
namespace: l2discovery
namespace: default
name: l2discovery
labels:
tier: node
Expand All @@ -20,24 +20,28 @@ spec:
name: l2discovery
spec:
hostNetwork: true
serviceAccountName: l2discovery
securityContext: {}
serviceAccount: default
serviceAccountName: default
nodeSelector:
kubernetes.io/os: linux
tolerations:
- operator: Exists
effect: NoSchedule
- effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
tolerationSeconds: 300
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 300
- effect: NoSchedule
key: node-role.kubernetes.io/master
containers:
- name: l2discovery
imagePullPolicy: Always
securityContext:
privileged: true
runAsUser: 0
capabilities:
add:
- NET_ADMIN
- NET_RAW
- SYS_CHROOT
- FOWNER
image: quay.io/testnetworkfunction/l2discovery:latest
resources:
requests:
Expand Down
8 changes: 0 additions & 8 deletions resources/namespace.yml

This file was deleted.

15 changes: 0 additions & 15 deletions resources/role.yml

This file was deleted.

12 changes: 0 additions & 12 deletions resources/rolebinding.yml

This file was deleted.

46 changes: 0 additions & 46 deletions resources/scc.yml

This file was deleted.

5 changes: 0 additions & 5 deletions resources/service-account.yml

This file was deleted.