This repository has been archived by the owner on Oct 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate logic and output update (#696)
* update of migrate logic * fix test * remove profile related change * update gen * fix cni path * add new test for overlay
- Loading branch information
1 parent
24504ea
commit 80cdefb
Showing
13 changed files
with
1,042 additions
and
728 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
38 changes: 38 additions & 0 deletions
38
cmd/mesh/testdata/manifest-migrate/input/overlay_values.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,38 @@ | ||
gateways: | ||
istio-ingressgateway: | ||
autoscaleMin: 20 | ||
autoscaleMax: 20 | ||
tolerations: | ||
- key: "scalers.istio" | ||
operator: "Equal" | ||
value: "dedicated" | ||
effect: "NoSchedule" | ||
nodeSelector: | ||
scalers.istio: dedicated | ||
podAntiAffinityTermLabelSelector: | ||
- key: istio | ||
operator: In | ||
values: ingressgateway | ||
topologyKey: "kubernetes.io/hostname" | ||
|
||
pilot: | ||
autoscaleMin: 20 | ||
autoscaleMax: 20 | ||
tolerations: | ||
- key: "scalers.istio" | ||
operator: "Equal" | ||
value: "dedicated" | ||
effect: "NoSchedule" | ||
nodeSelector: | ||
scalers.istio: dedicated | ||
podAntiAffinityTermLabelSelector: | ||
- key: istio | ||
operator: In | ||
values: pilot | ||
topologyKey: "kubernetes.io/hostname" | ||
|
||
mixer: | ||
policy: | ||
enabled: false | ||
telemetry: | ||
enabled: false |
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
60 changes: 60 additions & 0 deletions
60
cmd/mesh/testdata/manifest-migrate/output/overlay_values.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,60 @@ | ||
apiVersion: install.istio.io/v1alpha2 | ||
kind: IstioControlPlane | ||
metadata: | ||
creationTimestamp: null | ||
spec: | ||
gateways: | ||
components: | ||
ingressGateway: | ||
enabled: true | ||
k8s: | ||
nodeSelector: | ||
scalers.istio: dedicated | ||
tolerations: | ||
- effect: NoSchedule | ||
key: scalers.istio | ||
operator: Equal | ||
value: dedicated | ||
enabled: true | ||
policy: | ||
components: | ||
policy: | ||
enabled: false | ||
enabled: false | ||
telemetry: | ||
components: | ||
telemetry: | ||
enabled: false | ||
enabled: false | ||
trafficManagement: | ||
components: | ||
pilot: | ||
enabled: true | ||
k8s: | ||
nodeSelector: | ||
scalers.istio: dedicated | ||
tolerations: | ||
- effect: NoSchedule | ||
key: scalers.istio | ||
operator: Equal | ||
value: dedicated | ||
enabled: true | ||
values: | ||
gateways: | ||
istio-ingressgateway: | ||
autoscaleMax: 20 | ||
autoscaleMin: 20 | ||
podAntiAffinityTermLabelSelector: | ||
- key: istio | ||
operator: In | ||
topologyKey: kubernetes.io/hostname | ||
values: ingressgateway | ||
pilot: | ||
autoscaleMax: 20 | ||
autoscaleMin: 20 | ||
podAntiAffinityTermLabelSelector: | ||
- key: istio | ||
operator: In | ||
topologyKey: kubernetes.io/hostname | ||
values: pilot | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.