Created
July 11, 2018 23:28
-
-
Save shubhaat/13cc9651d4ff3a678d64ea4526d57437 to your computer and use it in GitHub Desktop.
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
I could create both of these virtual services applied to the same host reviews. But there is no way to check which was the virtual services that is actually applied. | |
Shubhas-MacBook-Pro-2:istio-0.8.0 sanjurtupil$ istioctl get virtualservice reviews3 -o yaml | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: VirtualService | |
metadata: | |
creationTimestamp: null | |
name: reviews3 | |
namespace: default | |
resourceVersion: "33199" | |
spec: | |
hosts: | |
- reviews | |
http: | |
- route: | |
- destination: | |
host: reviews | |
subset: v1 | |
weight: 99 | |
--- | |
and | |
Shubhas-MacBook-Pro-2:istio-0.8.0 sanjurtupil$ istioctl get virtualservice reviews1 -o yaml | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: VirtualService | |
metadata: | |
creationTimestamp: null | |
name: reviews1 | |
namespace: default | |
resourceVersion: "6236" | |
spec: | |
hosts: | |
- reviews | |
http: | |
- route: | |
- destination: | |
host: reviews | |
subset: v1 | |
weight: 80 | |
--- |
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
I could create both of these virtual services applied to the same host reviews. But there is no way to check which was the virtual services that is actually applied. | |
Shubhas-MacBook-Pro-2:istio-0.8.0 sanjurtupil$ istioctl get virtualservice reviews3 -o yaml | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: VirtualService | |
metadata: | |
creationTimestamp: null | |
name: reviews3 | |
namespace: default | |
resourceVersion: "33199" | |
spec: | |
hosts: | |
- reviews | |
http: | |
- route: | |
- destination: | |
host: reviews | |
subset: v1 | |
weight: 99 | |
--- | |
and | |
Shubhas-MacBook-Pro-2:istio-0.8.0 sanjurtupil$ istioctl get virtualservice reviews1 -o yaml | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: VirtualService | |
metadata: | |
creationTimestamp: null | |
name: reviews1 | |
namespace: default | |
resourceVersion: "6236" | |
spec: | |
hosts: | |
- reviews | |
http: | |
- route: | |
- destination: | |
host: reviews | |
subset: v1 | |
weight: 80 | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment