-
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 #205 from cncf/develop
Microservice Documentation/Helm Deploy/NodePort
- Loading branch information
Showing
81 changed files
with
2,895 additions
and
210 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
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
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-conformance config file for sample-core-dns-cnf | ||
In ./cnfs/sample-core-dns-cnf/cnf-conformance.yml | ||
``` | ||
--- | ||
container_names: [coredns-coredns] | ||
``` |
16 changes: 16 additions & 0 deletions
16
sample-cnfs/sample-bad-helm-deploy-repo/cnf-conformance.yml
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,16 @@ | ||
--- | ||
helm_directory: cnfs/coredns/helm_chart/coredns | ||
# helm_directory: helm_chart | ||
git_clone_url: | ||
install_script: | ||
release_name: coredns | ||
deployment_name: coredns-coredns | ||
service_name: coredns-coredns | ||
application_deployment_names: [coredns-coredns] | ||
helm_repository: | ||
name: stable | ||
repo_url: https://bad-helm-repo.googleapis.com | ||
helm_chart: | ||
helm_chart_container_name: coredns | ||
rolling_update_tag: 1.6.7 | ||
white_list_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
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
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
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-conformance config file for sample-core-dns-cnf | ||
In ./cnfs/sample-core-dns-cnf/cnf-conformance.yml | ||
``` | ||
--- | ||
container_names: [coredns-coredns] | ||
``` |
22 changes: 22 additions & 0 deletions
22
sample-cnfs/sample_coredns_chart_directory/chart/.helmignore
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,22 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
OWNERS |
23 changes: 23 additions & 0 deletions
23
sample-cnfs/sample_coredns_chart_directory/chart/Chart.yaml
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,23 @@ | ||
apiVersion: v1 | ||
appVersion: 1.6.7 | ||
description: CoreDNS is a DNS server that chains plugins and provides Kubernetes DNS | ||
Services | ||
home: https://coredns.io | ||
icon: https://coredns.io/images/CoreDNS_Colour_Horizontal.png | ||
keywords: | ||
- coredns | ||
- dns | ||
- kubedns | ||
maintainers: | ||
- email: hello@acale.ph | ||
name: Acaleph | ||
- email: shashidhara.huawei@gmail.com | ||
name: shashidharatd | ||
- email: andor44@gmail.com | ||
name: andor44 | ||
- email: manuel@rueg.eu | ||
name: mrueg | ||
name: coredns | ||
sources: | ||
- https://github.com/coredns/coredns | ||
version: 1.10.0 |
Oops, something went wrong.