-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
istio: Use cilium-istioctl instead of helm directly
Istio GSG and Istio CI test are modified to downloading the current version of the cilium-istioctl and use it for Istio deployment. Istioctl bundles the helm charts and uses a helm library to configure Kubernetes. Cilium version (cilium-istioctl) adds support for Cilium-specific configuration of the sidecar proxies and defaults to Cilium builds of pilot and sidecar proxy so that the user does not need to set the images explicitly. 'bookinfo-gateway.yaml' is added to examples so that it can be used in the GSG without requiring downloading Istio yamls. Both Istio GSG and the CI test now use a namespace label for automatic sidecar injection. This simplifies application deployment and allows easier future CI updates as pre-formed application/Istio yamls can now be removed. Signed-off-by: Jarno Rajahalme <jarno@covalent.io>
- Loading branch information
1 parent
14c9745
commit a1b1cd6
Showing
9 changed files
with
94 additions
and
11,358 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -320,6 +320,7 @@ ipsec | |
iptables | ||
ipvlan | ||
istio | ||
istioctl | ||
iteratively | ||
ixgbe | ||
ixgbevf | ||
|
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,41 @@ | ||
apiVersion: networking.istio.io/v1alpha3 | ||
kind: Gateway | ||
metadata: | ||
name: bookinfo-gateway | ||
spec: | ||
selector: | ||
istio: ingressgateway # use istio default controller | ||
servers: | ||
- port: | ||
number: 80 | ||
name: http | ||
protocol: HTTP | ||
hosts: | ||
- "*" | ||
--- | ||
apiVersion: networking.istio.io/v1alpha3 | ||
kind: VirtualService | ||
metadata: | ||
name: bookinfo | ||
spec: | ||
hosts: | ||
- "*" | ||
gateways: | ||
- bookinfo-gateway | ||
http: | ||
- match: | ||
- uri: | ||
exact: /productpage | ||
- uri: | ||
prefix: /static | ||
- uri: | ||
exact: /login | ||
- uri: | ||
exact: /logout | ||
- uri: | ||
prefix: /api/v1/products | ||
route: | ||
- destination: | ||
host: productpage | ||
port: | ||
number: 9080 |
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.