forked from microsoft/reverse-proxy
-
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.
microsoft#1640 Combine Kubernetes ingress controller into a single de…
…ployable
- Loading branch information
Showing
33 changed files
with
123 additions
and
764 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,21 @@ | ||
# Yarp Ingress and Ingress Controller | ||
# Yarp Ingress Controller | ||
|
||
This directory contains a sample ingress as well as the definition for the Kubernetes manifests for the ingress and ingress controller. | ||
This directory contains a sample ingress as well as the definition for the Kubernetes manifests for the ingress controller. | ||
|
||
The sample ingress controller is a single deployable (previously this was two separate deployables). | ||
|
||
## Building the Docker Image | ||
|
||
From the base directory for this repo (where the .sln file is), run the command: | ||
|
||
``` | ||
docker build -t yarp:latest -f .\samples\KuberenetesIngress.Sample\Ingress\Dockerfile . | ||
``` | ||
|
||
## Deploying the Sample Ingress Controller | ||
|
||
1. Open the [ingress-controller.yaml](.\ingress-controller.yaml) file | ||
2. Modify the container image to match the name used when building the image, e.g. change `<REGISTRY_NAME>/yarp:<TAG>` to `yarp:latest` | ||
3. Run the command `kubectl apply -f .\samples\KuberenetesIngress.Sample\Ingress\ingress-controller.yaml` | ||
|
||
To undeploy the ingress controller, run the command `kubectl delete -f .\samples\KuberenetesIngress.Sample\Ingress\ingress-controller.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
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 was deleted.
Oops, something went wrong.
5 changes: 4 additions & 1 deletion
5
src/Kubernetes.Protocol/IUpdateConfig.cs → ...ontroller/ConfigProvider/IUpdateConfig.cs
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
30 changes: 0 additions & 30 deletions
30
src/Kubernetes.Controller/Controllers/DispatchController.cs
This file was deleted.
Oops, something went wrong.
106 changes: 0 additions & 106 deletions
106
src/Kubernetes.Controller/Dispatching/DispatchActionResult.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.