Skip to content

Commit 42fab68

Browse files
committed
code cleanup
1 parent f5afa36 commit 42fab68

File tree

4 files changed

+32
-40
lines changed

4 files changed

+32
-40
lines changed

docs/DESIGN.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22

33
## Azure Infrastructure
44

5-
![alt text](images/image.png)
5+
![alt text](image.png)
66

77
## Service Design
88

99
![alt text](image.png)
1010

1111
## Logical Flow: Metrics
1212

13-
![alt text](images/image-2.png)
13+
![alt text](image-2.png)
1414

1515
## Logical Flow: Logs
1616

17-
![alt text](images/image-3.png)
17+
![alt text](image-3.png)
1818

1919
## Logical FLow: Traces
2020

21-
![alt text](images/image-4.png)
21+
![alt text](image-4.png)
2222

2323

2424
## User Experience
@@ -27,26 +27,26 @@ The User Experience is an essential aspect of the platforms success or failure.
2727

2828
### Login
2929

30-
![alt text](images/image-5.png)
30+
![alt text](image-5.png)
3131

3232
### Webtop
3333

34-
![alt text](images/image-6.png)
34+
![alt text](image-6.png)
3535

3636
### VPN
3737

38-
![alt text](images/image-7.png)
38+
![alt text](image-7.png)
3939

4040
### ElasticSearch
4141

42-
![alt text](images/image-8.png)
43-
![alt text](images/image-9.png)
44-
![alt text](images/image-10.png)
45-
![alt text](images/image-11.png)
46-
![alt text](images/image-12.png)
47-
![alt text](images/image-13.png)
42+
![alt text](image-8.png)
43+
![alt text](image-9.png)
44+
![alt text](image-10.png)
45+
![alt text](image-11.png)
46+
![alt text](image-12.png)
47+
![alt text](image-13.png)
4848

4949
### GrafanaLabs
5050

51-
![alt text](images/image-14.png)
51+
![alt text](image-14.png)
5252

helm/CIS/crds/argocd-ingress-https-vs.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
pools:
2323
- path: /
2424
service: argocd-stack-server
25-
servicePort: 80
25+
servicePort: 443
2626
reselectTries: 3
2727
serviceDownAction: reselect
2828
monitors:
@@ -31,12 +31,12 @@ spec:
3131
send: "HEAD / HTTP/1.0\r\n\r\n"
3232
timeout: 15
3333
type: http
34-
tlsProfileName: argo-terminate-tls13
34+
tlsProfileName: argo-reencrypt-tls13
3535
---
3636
apiVersion: cis.f5.com/v1
3737
kind: TLSProfile
3838
metadata:
39-
name: argo-terminate-tls13
39+
name: argo-reencrypt-tls13
4040
namespace: argocd
4141
labels:
4242
f5cr: "true"
@@ -45,8 +45,9 @@ spec:
4545
tlsVersion: "1.3"
4646
cipherGroup: /Common/f5-default
4747
tls:
48-
termination: edge
48+
termination: reencrypt
4949
clientSSL: /Common/clientssl
50+
serverSSL: /Common/serverssl
5051
reference: bigip
5152
hosts:
5253
- argocd.f5demo.com

helm/CIS/crds/kibana-ingress-https-vs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
3131
send: "HEAD / HTTP/1.0\r\n\r\n"
3232
timeout: 15
3333
type: https
34-
tlsProfileName: reencrypt-tls13
34+
tlsProfileName: kibana-reencrypt-tls13
3535
---
3636
apiVersion: cis.f5.com/v1
3737
kind: TLSProfile

helm/eck-stack/eck.sh

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@
44
helm repo add elastic https://helm.elastic.co
55
helm repo update
66

7+
# install Elastic CRDs and Operator
8+
#helm upgrade --install elastic-operator-crds elastic/eck-operator-crds
9+
helm upgrade --install elastic-operator elastic/eck-operator -n elastic-system --create-namespace
10+
11+
12+
# install elasticsearch init container DaemonSet
13+
#kubectl apply -n elastic-system -f max-map-counter-setter.yaml
14+
### replaced with init-container definiton in podSpec
15+
16+
# install ECK stack: elasticsearch-kibana-logstash-beats
17+
helm upgrade --install elk-stack elastic/eck-stack -n elastic-system --create-namespace --values ./values.yaml
18+
719
#ES Scheduler Priority settings
820
cluUrl="_cluster/settings"
921
cat <<-EOF >> es-priority-classes.yaml
@@ -24,17 +36,6 @@ globalDefault: false
2436
description: "This priority class should be used for filebeat pods only."
2537
EOF
2638

27-
# install Elastic CRDs and Operator
28-
#helm upgrade --install elastic-operator-crds elastic/eck-operator-crds
29-
helm upgrade --install elastic-operator elastic/eck-operator -n elastic-system --create-namespace
30-
31-
32-
# install elasticsearch init container DaemonSet
33-
kubectl apply -n elastic-system -f max-map-counter-setter.yaml
34-
35-
# install ECK stack: elasticsearch-kibana-logstash-beats
36-
helm upgrade --install elk-stack elastic/eck-stack -n elastic-system --create-namespace --values ./values.yaml
37-
3839
#ES index component_template
3940
componentUrl="_component_template/component_template_default"
4041
cat <<-EOF >> component_template.json
@@ -135,16 +136,6 @@ for pod in `k describe endpoints elasticsearch-es-http -n elastic-system |grep '
135136
-k -X PUT -H "Content-type: application/json" https://${pod}:9200/${cluUrl} --data @./cluster.json | jq;
136137
); done;
137138

138-
# old index settings code
139-
#cat <<-EOF >> index.json
140-
#{
141-
# "settings": {
142-
# "index.mapping.total_fields.limit": 10000
143-
# }
144-
#}
145-
#EOF
146-
#curl -u elastic:${esPass} -k -X PUT -H "Content-type: application/json" https://10.120.0.69:9200/logstash-hec-2024.12.04/_settings --data @./index.json
147-
148139
# show elastic-operator logs
149140
echo "Username: elastic"
150141
echo "Password: ${esPass}"

0 commit comments

Comments
 (0)