-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from vantage6/proxy-and-network-rules
PoC now running v6-compliant algorithms with central and partial functions
- Loading branch information
Showing
8 changed files
with
149 additions
and
137 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 was deleted.
Oops, something went wrong.
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,52 @@ | ||
#https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/ | ||
|
||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: v6-node | ||
|
||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: v6-jobs | ||
|
||
--- | ||
|
||
kind: NetworkPolicy # Policy to disable job's networking, except with the Node | ||
apiVersion: networking.k8s.io/v1 | ||
metadata: | ||
name: v6-jobs-allow-egress-to-node-proxy-only | ||
namespace: v6-jobs | ||
spec: | ||
podSelector: {} # This selects all pods in the v6-jobs namespace | ||
policyTypes: | ||
- Egress | ||
egress: | ||
- {} | ||
# - to: | ||
# - podSelector: | ||
# matchLabels: | ||
# app: v6-node-server-proxy # This targets the dummy-v6-proxy pod | ||
# ports: | ||
# - protocol: TCP | ||
# port: 4567 | ||
# - to: | ||
# - namespaceSelector: {} # allow only the use DNS within the cluster | ||
# ports: | ||
# - protocol: UDP #This enables internal DNS resolution (otherwhise the static IP addresses of the proxy should be given) | ||
# port: 53 | ||
|
||
|
||
|
||
#spec: | ||
# podSelector: | ||
# matchLabels: | ||
# app: v6-node-server-proxy | ||
# policyTypes: | ||
# - Egress | ||
# egress: | ||
# - {} # This rule allows egress traffic to any destination (could be restricted to the V6-server only) | ||
|
||
|
||
|
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
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