Skip to content

WIP: set a default policy group name#1094

Open
chrisplo wants to merge 6 commits into
contiv:masterfrom
chrisplo:cni3
Open

WIP: set a default policy group name#1094
chrisplo wants to merge 6 commits into
contiv:masterfrom
chrisplo:cni3

Conversation

@chrisplo

@chrisplo chrisplo commented Dec 1, 2017

Copy link
Copy Markdown
Contributor

Pods that did not specify a contiv group will be
assigned a default based on a name pattern:

"ns-" + + "-default"

@chrisplo

chrisplo commented Dec 1, 2017

Copy link
Copy Markdown
Contributor Author

build PR

1 similar comment
@chrisplo

chrisplo commented Dec 2, 2017

Copy link
Copy Markdown
Contributor Author

build PR

@dseevr

dseevr commented Dec 3, 2017

Copy link
Copy Markdown
Contributor

build pr

rchirakk and others added 3 commits December 5, 2017 16:31
This also maps k8s namespace to EPG

Signed-off-by: Ranjith <rchirakk@users.noreply.github.com>
Comment thread Makefile
k8s-test: first_master_make_targets:=run-build
k8s-test: export VAGRANT_CWD:=$(PWD)/vagrant/k8s
k8s-test: export CONTIV_K8S_USE_KUBEADM:=1 CONTIV_NODES:=3 PYTHONIOENCODING:=utf-8
k8s-test: k8s-cluster make-on-first-master-dep

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will these duplicate targets be combined into a single k8s-test?

// Pods need to be in a group to allow policies to be applied after pod
// creation, if a group is not specified by the user, then place pod
// into a group shared across the pod's namespace, as contiv group is part
// of a network and network is in a k8s namespace

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add the above four lines in the description of this PR so that reviewers know what it does. Also, curious to know if this approach decreased the runtime of system tests? If so, by how much?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants