-
Notifications
You must be signed in to change notification settings - Fork 72
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 #1839 from cncf/node-drain-random-failures
[bug/1838] Increase wait_count in LitmusManager.wait_for_test to allow for slow verdicts
- Loading branch information
Showing
6 changed files
with
109 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Set up Sample CoreDNS CNF | ||
./sample-cnfs/sample-coredns-cnf/readme.md | ||
# Prerequistes | ||
### Install helm | ||
``` | ||
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | ||
chmod 700 get_helm.sh | ||
./get_helm.sh | ||
``` | ||
### Optional: Use a helm version manager | ||
https://github.com/yuya-takeyama/helmenv | ||
Check out helmenv into any path (here is ${HOME}/.helmenv) | ||
``` | ||
${HOME}/.helmenv) | ||
$ git clone https://github.com/yuya-takeyama/helmenv.git ~/.helmenv | ||
``` | ||
Add ~/.helmenv/bin to your $PATH any way you like | ||
``` | ||
$ echo 'export PATH="$HOME/.helmenv/bin:$PATH"' >> ~/.bash_profile | ||
``` | ||
``` | ||
helmenv versions | ||
helmenv install <version 3.1?> | ||
``` | ||
|
||
### core-dns installation | ||
``` | ||
helm install coredns stable/coredns | ||
``` | ||
### Pull down the helm chart code, untar it, and put it in the cnfs/coredns directory | ||
``` | ||
helm pull stable/coredns | ||
``` | ||
### Example cnf-testsuite config file for sample-core-dns-cnf | ||
In ./cnfs/sample-core-dns-cnf/cnf-testsuite.yml | ||
``` | ||
--- | ||
container_names: [coredns-coredns] | ||
``` |
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,9 @@ | ||
--- | ||
release_name: coredns3 | ||
service_name: coredns-coredns | ||
helm_repository: | ||
name: stable | ||
repo_url: https://cncf.gitlab.io/stable | ||
helm_chart: stable/coredns | ||
helm_install_namespace: cnfspace3 | ||
allowlist_helm_chart_container_names: [falco, node-cache, nginx, coredns, calico-node, kube-proxy, nginx-proxy] |
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,39 @@ | ||
# Set up Sample CoreDNS CNF | ||
./sample-cnfs/sample-coredns-cnf/readme.md | ||
# Prerequistes | ||
### Install helm | ||
``` | ||
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | ||
chmod 700 get_helm.sh | ||
./get_helm.sh | ||
``` | ||
### Optional: Use a helm version manager | ||
https://github.com/yuya-takeyama/helmenv | ||
Check out helmenv into any path (here is ${HOME}/.helmenv) | ||
``` | ||
${HOME}/.helmenv) | ||
$ git clone https://github.com/yuya-takeyama/helmenv.git ~/.helmenv | ||
``` | ||
Add ~/.helmenv/bin to your $PATH any way you like | ||
``` | ||
$ echo 'export PATH="$HOME/.helmenv/bin:$PATH"' >> ~/.bash_profile | ||
``` | ||
``` | ||
helmenv versions | ||
helmenv install <version 3.1?> | ||
``` | ||
|
||
### core-dns installation | ||
``` | ||
helm install coredns stable/coredns | ||
``` | ||
### Pull down the helm chart code, untar it, and put it in the cnfs/coredns directory | ||
``` | ||
helm pull stable/coredns | ||
``` | ||
### Example cnf-testsuite config file for sample-core-dns-cnf | ||
In ./cnfs/sample-core-dns-cnf/cnf-testsuite.yml | ||
``` | ||
--- | ||
container_names: [coredns-coredns] | ||
``` |
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,9 @@ | ||
--- | ||
release_name: coredns4 | ||
service_name: coredns-coredns | ||
helm_repository: | ||
name: stable | ||
repo_url: https://cncf.gitlab.io/stable | ||
helm_chart: stable/coredns | ||
helm_install_namespace: cnfspace4 | ||
allowlist_helm_chart_container_names: [falco, node-cache, nginx, coredns, calico-node, kube-proxy, nginx-proxy] |
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