Skip to content

Commit f587eba

Browse files
committed
Merge branch 'main' into feature/next-stack-actions
2 parents 1bfc5c6 + d807d70 commit f587eba

8 files changed

+24
-25
lines changed

.github/workflows/build-arm64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/setup-dotnet@v4
2727
with:
2828
dotnet-version: 9.0.*
29-
dotnet-quality: preview
29+
dotnet-quality: ga
3030
- name: Build Reason
3131
env:
3232
GITHUB_EVENT: ${{ toJson(github) }}

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
uses: actions/setup-dotnet@v4
4040
with:
4141
dotnet-version: 9.0.*
42-
dotnet-quality: preview
42+
dotnet-quality: ga
4343

4444
- name: Version
4545
id: version
@@ -65,7 +65,7 @@ jobs:
6565
uses: actions/setup-dotnet@v4
6666
with:
6767
dotnet-version: 9.0.*
68-
dotnet-quality: preview
68+
dotnet-quality: ga
6969

7070
- name: Start Services
7171
working-directory: docker

.github/workflows/elasticsearch-docker-7.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/setup-dotnet@v4
2020
with:
2121
dotnet-version: 9.0.*
22-
dotnet-quality: preview
22+
dotnet-quality: ga
2323
- name: Build Reason
2424
env:
2525
GITHUB_EVENT: ${{ toJson(github) }}

.github/workflows/elasticsearch-docker-8.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/setup-dotnet@v4
2020
with:
2121
dotnet-version: 9.0.*
22-
dotnet-quality: preview
22+
dotnet-quality: ga
2323
- name: Build Reason
2424
env:
2525
GITHUB_EVENT: ${{ toJson(github) }}

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ USER elasticsearch
148148

149149
RUN wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh && \
150150
chmod +x dotnet-install.sh && \
151-
./dotnet-install.sh --channel 9.0 --quality preview --runtime aspnetcore && \
151+
./dotnet-install.sh --channel 9.0 --runtime aspnetcore && \
152152
rm dotnet-install.sh
153153

154154
EXPOSE 8080 9200
@@ -206,7 +206,7 @@ USER elasticsearch
206206

207207
RUN wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh && \
208208
chmod +x dotnet-install.sh && \
209-
./dotnet-install.sh --channel 9.0 --quality preview --runtime aspnetcore && \
209+
./dotnet-install.sh --channel 9.0 --runtime aspnetcore && \
210210
rm dotnet-install.sh
211211

212212
EXPOSE 8080 9200

k8s/elastic-monitor.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,10 @@ metadata:
55
namespace: elastic-system
66
spec:
77
version: 8.16.1
8-
podDisruptionBudget:
9-
spec:
10-
minAvailable: 2
11-
selector:
12-
matchLabels:
13-
elasticsearch.k8s.elastic.co/cluster-name: elastic-monitor
8+
podDisruptionBudget: {}
149
nodeSets:
1510
- name: main
16-
count: 3
11+
count: 1
1712
config:
1813
# if not setting max_map_count in an init container, then use this setting
1914
#node.store.allow_mmap: false

k8s/ex-prod-elasticsearch.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ metadata:
66
spec:
77
version: 8.16.1
88
image: exceptionless/elasticsearch:8.16.1 # https://github.com/exceptionless/Exceptionless/tree/main/build/docker/elasticsearch
9-
# monitoring:
10-
# metrics:
11-
# elasticsearchRefs:
12-
# - name: elastic-monitor
13-
# namespace: elastic-system
14-
# logs:
15-
# elasticsearchRefs:
16-
# - name: elastic-monitor
17-
# namespace: elastic-system
9+
monitoring:
10+
metrics:
11+
elasticsearchRefs:
12+
- name: elastic-monitor
13+
namespace: elastic-system
14+
logs:
15+
elasticsearchRefs:
16+
- name: elastic-monitor
17+
namespace: elastic-system
1818
secureSettings:
1919
- secretName: ex-prod-snapshots
2020
http:

k8s/ex-prod-tasks.ps1

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
$ELASTIC_PASSWORD=$(kubectl get secret --namespace ex-prod "ex-prod-es-elastic-user" -o go-template='{{.data.elastic | base64decode }}')
33

44
# connect to kibana
5-
open "http://kibana-ex-prod.localtest.me:5660" && kubectl port-forward --namespace ex-prod service/ex-prod-kb-http 5660:5601
5+
$ELASTIC_JOB = kubectl port-forward --namespace ex-prod service/ex-prod-kb-http 5660:5601 &
6+
Remove-Job $ELASTIC_JOB
7+
Start-Process "http://elastic:$ELASTIC_PASSWORD@kibana-ex-prod.localtest.me:5660"
68

79
# port forward elasticsearch
810
$ELASTIC_JOB = kubectl port-forward --namespace ex-prod service/ex-prod-es-http 9260:9200 &
@@ -14,6 +16,8 @@ $ELASTIC_MONITOR_PASSWORD=$(kubectl get secret --namespace elastic-system "elast
1416
$ELASTIC_JOB = kubectl port-forward --namespace elastic-system service/elastic-monitor-es-http 9280:9200 &
1517
Remove-Job $ELASTIC_JOB
1618

19+
Start-Process "https://elastic:$ELASTIC_MONITOR_PASSWORD@localhost:9280"
20+
1721
curl -k https://elastic:$ELASTIC_MONITOR_PASSWORD@localhost:9280/_cluster/health?pretty
1822
curl -k https://elastic:$ELASTIC_MONITOR_PASSWORD@localhost:9280/_cat/allocation?v
1923
curl -k https://elastic:$ELASTIC_MONITOR_PASSWORD@localhost:9280/_cluster/allocation/explain?pretty
@@ -28,7 +32,7 @@ kubectl exec --stdin --tty ex-prod-redis-node-0 -- /bin/bash -c "redis-cli -a $R
2832
# open kubernetes dashboard
2933
$DASHBOARD_PASSWORD=$(kubectl get secret --namespace kubernetes-dashboard admin-user-token-w8jg7 -o go-template='{{.data.token | base64decode }}')
3034
kubectl proxy
31-
open "http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/"
35+
Start-Process "http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/"
3236

3337
# open kubecost
3438
kubectl port-forward --namespace kubecost deployment/kubecost-cost-analyzer 9090

0 commit comments

Comments
 (0)