forked from kubernetes-sigs/kubespray
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/kubernetes-sigs/kubespray
* 'master' of https://github.com/kubernetes-sigs/kubespray: Documentation for Ingress (kubernetes-sigs#6378) Fix ansible-lint E301 for commands fetching data (kubernetes-sigs#6465) Fix shellcheck url (kubernetes-sigs#6462) Fix ansible-lint E305 (kubernetes-sigs#6459) Fix ansible-lint E404 (kubernetes-sigs#6417) Update README.md and openstack.md (kubernetes-sigs#6455) Add noqa and disable .ansible-lint global exclusions (kubernetes-sigs#6410) Move healthz check to secure ports (kubernetes-sigs#6446) Update multus version & crio conf (kubernetes-sigs#6444) Fix remove etcd broken with etcdctl_api 3 (kubernetes-sigs#6448) update cinder csi manifests (kubernetes-sigs#6434) Update docker package to 19.03.12 (kubernetes-sigs#6439) * add proxy_env definition to remove_node.yml resolving kubernetes-sigs#6430 (kubernetes-sigs#6431)
- Loading branch information
Showing
91 changed files
with
349 additions
and
213 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
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
22 changes: 11 additions & 11 deletions
22
contrib/network-storage/heketi/roles/tear-down/tasks/main.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
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,86 @@ | ||
|
||
# Ambassador | ||
|
||
The Ambassador API Gateway provides all the functionality of a traditional ingress controller | ||
(e.g., path-based routing) while exposing many additional capabilities such as authentication, | ||
URL rewriting, CORS, rate limiting, and automatic metrics collection. | ||
|
||
## Installation | ||
|
||
### Configuration | ||
|
||
* `ingress_ambassador_namespace` (default `ambassador`): namespace for installing Ambassador. | ||
* `ingress_ambassador_update_window` (default `0 0 * * SUN`): _crontab_-like expression | ||
for specifying when the Operator should try to update the Ambassador API Gateway. | ||
* `ingress_ambassador_version` (defaulkt: `*`): SemVer rule for versions allowed for | ||
installation/updates. | ||
* `ingress_ambassador_secure_port` (default: 443): HTTPS port to listen at. | ||
* `ingress_ambassador_insecure_port` (default: 80): HTTP port to listen at. | ||
|
||
### Ambassador Operator | ||
|
||
This Ambassador addon deploys the Ambassador Operator, which in turn will install Ambassador in | ||
a Kubernetes cluster. | ||
|
||
The Ambassador Operator is a Kubernetes Operator that controls Ambassador's complete lifecycle | ||
in your cluster, automating many of the repeatable tasks you would otherwise have to perform | ||
yourself. Once installed, the Operator will complete installations and seamlessly upgrade to new | ||
versions of Ambassador as they become available. | ||
|
||
## Usage | ||
|
||
The following example creates simple http-echo services and an `Ingress` object | ||
to route to these services. | ||
|
||
Note well that the Ambassador API Gateway will automatically load balance `Ingress` resources | ||
that include the annotation `kubernetes.io/ingress.class=ambassador`. All the other | ||
resources will be just ignored. | ||
|
||
```yaml | ||
kind: Pod | ||
apiVersion: v1 | ||
metadata: | ||
name: foo-app | ||
labels: | ||
app: foo | ||
spec: | ||
containers: | ||
- name: foo-app | ||
image: hashicorp/http-echo | ||
args: | ||
- "-text=foo" | ||
--- | ||
kind: Service | ||
apiVersion: v1 | ||
metadata: | ||
name: foo-service | ||
spec: | ||
selector: | ||
app: foo | ||
ports: | ||
# Default port used by the image | ||
- port: 5678 | ||
--- | ||
apiVersion: extensions/v1beta1 | ||
kind: Ingress | ||
metadata: | ||
name: example-ingress | ||
annotations: | ||
kubernetes.io/ingress.class: ambassador | ||
spec: | ||
rules: | ||
- http: | ||
paths: | ||
- path: /foo | ||
backend: | ||
serviceName: foo-service | ||
servicePort: 5678 | ||
``` | ||
Now you can test that the ingress is working with curl: | ||
```console | ||
$ export AMB_IP=$(kubectl get service ambassador -n ambassador -o 'go-template={{range .status.loadBalancer.ingress}}{{print .ip "\n"}}{{end}}') | ||
$ curl $AMB_IP/foo | ||
foo | ||
``` |
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
Oops, something went wrong.