Skip to content

Commit 0cc5e69

Browse files
committed
Merge branch 'feature/istio/install' into develop
2 parents 4d16b9c + fe8029e commit 0cc5e69

File tree

2 files changed

+47
-4
lines changed

2 files changed

+47
-4
lines changed

istio/install-istio.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,28 @@ trap 'echo "${BASH_SOURCE[0]}: line ${LINENO}: status ${?}: user ${USER}: func $
33
set -o errexit
44
set -o errtrace
55

6+
istioctl version
7+
### Istio is not present in the cluster: no running Istio pods in namespace "istio-system"
8+
### client version: 1.23.2
9+
610
### profile list
711
istioctl profile list
812
### Istio configuration profiles:
13+
### ambient
914
### default
1015
### demo
1116
### empty
12-
### external
1317
### minimal
1418
### openshift
19+
### openshift-ambient
1520
### preview
1621
### remote
22+
### stable
1723

1824
### install
1925
istioctl install -y --set profile=default
2026
# istioctl install -y --set profile=default \
2127
# --set meshConfig.accessLogFile=/dev/stdout
2228

2329
### verify
24-
# istioctl manifest generate --set profile=default | istioctl verify-install -f -
30+
istioctl manifest generate --set profile=default | istioctl verify-install -f -

istio/istio-commands.sh

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,43 @@ export PATH="${PATH}:${HOME}/.istioctl/bin"
88

99
######################################################################
1010

11+
### version
12+
13+
istioctl version
14+
### Istio is not present in the cluster: no running Istio pods in namespace "istio-system"
15+
### client version: 1.23.2
16+
17+
istioctl version
18+
### client version: 1.23.2
19+
### control plane version: 1.23.2
20+
### data plane version: 1.23.2 (1 proxies)
21+
22+
######################################################################
23+
24+
### install
25+
26+
### profile list
27+
istioctl profile list
28+
### Istio configuration profiles:
29+
### ambient
30+
### default
31+
### demo
32+
### empty
33+
### minimal
34+
### openshift
35+
### openshift-ambient
36+
### preview
37+
### remote
38+
### stable
39+
40+
istioctl install -y --set profile=default
41+
42+
### verify
43+
istioctl manifest generate --set profile=default | istioctl verify-install -f -
44+
### ✔ Istio is installed and verified successfully
45+
46+
######################################################################
47+
1148
### injection
1249

1350
### automatic sidecar injection
@@ -16,10 +53,10 @@ kubectl get namespace -L istio-injection
1653
istioctl proxy-status
1754

1855
### manual sidecar injection
19-
# kubectl apply --filename <(istioctl kube-inject -f httpbin.yaml)
56+
kubectl apply --filename <(istioctl kube-inject -f httpbin.yaml)
2057

2158
### disable sidecar injection
22-
# kubectl label namespace ${NAMESPACE} istio-injection-
59+
kubectl label namespace ${NAMESPACE} istio-injection-
2360

2461
######################################################################
2562

0 commit comments

Comments
 (0)