Skip to content

Commit 6cde3c5

Browse files
committed
add more TAP and TAP GUI stuff
1 parent 0bb33c7 commit 6cde3c5

File tree

7 files changed

+811
-0
lines changed

7 files changed

+811
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

docs/.DS_Store

0 Bytes
Binary file not shown.

docs/images/.DS_Store

6 KB
Binary file not shown.

docs/tanzu/tap-gitops/run-with-argocd.md

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,96 @@ description: Tanzu Application Platform GitOps Installation with ArgoCD for depl
1515

1616

1717

18+
## Setup Argo CD
19+
20+
```sh
21+
kubectl apply -f argo-namespace.yaml
22+
```
23+
24+
```sh
25+
helm repo add argo https://argoproj.github.io/argo-helm
26+
helm repo update
27+
```
28+
29+
```sh
30+
helm upgrade --install argocd argo/argo-cd \
31+
--namespace argocd \
32+
--wait \
33+
--version 5.46.7 \
34+
--values argocd-values.yaml
35+
```
36+
37+
* release 2.8.7
38+
* https://github.com/argoproj/argo-cd/releases
39+
* use portfward instead of direct login
40+
41+
```sh
42+
cp ~/Downloads/argocd-darwin-arm64 /Users/joostvdg/.local/bin/argocd
43+
```
44+
45+
```sh
46+
argocd login --insecure --port-forward --port-forward-namespace=argocd --plaintext --kube-context tap-01
47+
```
48+
49+
```sh
50+
argocd cluster list --port-forward --port-forward-namespace=argocd
51+
```
52+
53+
```sh
54+
SERVER NAME VERSION STATUS MESSAGE PROJECT
55+
https://kubernetes.default.svc in-cluster Unknown Cluster has no applications and is not being monitored.
56+
```
57+
58+
```sh
59+
argocd cluster add tap-02 --port-forward --port-forward-namespace=argocd
60+
```
61+
62+
!!! Warning
63+
> WARNING: This will create a service account `argocd-manager` on the cluster referenced by context `tap-02` with full cluster level privileges. Do you want to continue [y/N]?
64+
65+
```sh
66+
SERVER NAME VERSION STATUS MESSAGE PROJECT
67+
https://10.220.10.38:6443 tap-02 1.26 Successful
68+
https://kubernetes.default.svc in-cluster Unknown Cluster has no applications and is not being monitored.
69+
```
70+
71+
### Application
72+
73+
```sh
74+
kubectl create namespace d1
75+
kubectl label namespace d1 apps.tanzu.vmware.com/tap-ns=""
76+
```
77+
78+
> Message: failed to create typed patch object (d1/hello; serving.knative.dev/v1, Kind=Service): .spec.template.spec.containers[0].startupProbe: field not declared in schema
79+
80+
```yaml
81+
syncPolicy:
82+
syncOptions:
83+
- Validate=false
84+
```
85+
86+
```yaml
87+
apiVersion: argoproj.io/v1alpha1
88+
kind: Application
89+
metadata:
90+
name: tap-apps-d1
91+
namespace: argocd
92+
labels:
93+
app.kubernetes.io/part-of: tap-hello-world
94+
spec:
95+
destination:
96+
namespace: d1
97+
server: 'https://10.220.10.38:6443'
98+
source:
99+
path: config/d1/
100+
repoURL: 'http://gitlab.tap.h2o-2-19271.h2o.vmware.com/root/tap-apps.git'
101+
targetRevision: main
102+
directory:
103+
recurse: true
104+
sources: []
105+
project: default
106+
syncPolicy:
107+
syncOptions:
108+
- CreateNamespace=false
109+
- Validate=false
110+
```

0 commit comments

Comments
 (0)