Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elastic Upgrade #212

Merged
merged 26 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
5ce7072
Added ingress to elastic and removed istio mesh from website.
danielscholl Sep 26, 2024
3158c5a
Added ingress to elastic and removed istio mesh from website.
danielscholl Sep 26, 2024
42a1737
Added https to kibana
danielscholl Sep 26, 2024
3e9bace
Added https to kibana
danielscholl Sep 26, 2024
1a35ba6
Added https to kibana
danielscholl Sep 26, 2024
bfed239
Added https to kibana
danielscholl Sep 26, 2024
3ecc26f
Added https to kibana
danielscholl Sep 26, 2024
a0f4e3c
Updated kibana version.
danielscholl Sep 29, 2024
79bcad5
Updated kibana path.
danielscholl Sep 29, 2024
963435d
Updated elastic version
danielscholl Sep 30, 2024
6f21bd9
Attempted changed to kibana
danielscholl Sep 30, 2024
1023842
Attempted changed to kibana
danielscholl Sep 30, 2024
7550794
Attempted changed to kibana
danielscholl Sep 30, 2024
a79c1cb
Attempted changed to kibana
danielscholl Sep 30, 2024
26fb242
Attempted changed to kibana
danielscholl Sep 30, 2024
e55d31c
Attempted changed to kibana
danielscholl Sep 30, 2024
3ca95ba
Attempted changed to kibana
danielscholl Sep 30, 2024
996ed7a
Attempted changed to kibana
danielscholl Sep 30, 2024
ab300bd
Attempted changed to kibana
danielscholl Sep 30, 2024
b9564de
Attempted changed to kibana
danielscholl Sep 30, 2024
d7eca3c
Attempted changed to kibana
danielscholl Sep 30, 2024
673730c
Attempted changed to kibana
danielscholl Sep 30, 2024
0c59100
Attempted changed to kibana
danielscholl Sep 30, 2024
54e5dd6
Attempted changed to kibana
danielscholl Sep 30, 2024
7684574
Updated Elastic
danielscholl Sep 30, 2024
48d4703
Updated Elastic
danielscholl Sep 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions software/applications/web-site/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,4 @@
---
apiVersion: security.istio.io/v1beta1
kind: PeerAuthentication
metadata:
name: default
namespace: web-site
spec:
mtls:
mode: STRICT
---
apiVersion: networking.istio.io/v1beta1
kind: DestinationRule
metadata:
name: web-site-rule
namespace: web-site
spec:
host: osdu-developer-web-service.web-site.svc.cluster.local
trafficPolicy:
connectionPool:
tcp:
maxConnections: 100
tls:
mode: ISTIO_MUTUAL
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
Expand Down
2 changes: 1 addition & 1 deletion software/applications/web-site/namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ metadata:
name: web-site
labels:
toolkit.fluxcd.io/tenant: dev-team
istio-injection: enabled
istio-injection: disabled
2 changes: 1 addition & 1 deletion software/components/elastic-search/elastic-search.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
annotations:
eck.k8s.elastic.co/downward-node-labels: "topology.kubernetes.io/zone"
spec:
version: 7.17.22
version: 8.15.2
http:
tls:
selfSignedCertificate:
Expand Down
2 changes: 1 addition & 1 deletion software/components/elastic-search/kibana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: kibana
namespace: elastic-search
spec:
version: 7.17.22
version: 8.15.2
elasticsearchRef:
name: "elasticsearch"
count: 3
Expand Down
2 changes: 1 addition & 1 deletion software/components/osdu-system/elastic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
interval: 5m
url: https://github.com/elastic/cloud-on-k8s
ref:
branch: "2.5"
branch: "2.14"
ignore: |
# exclude all
/*
Expand Down
10 changes: 5 additions & 5 deletions tools/rest-scripts/check-csv.http
Original file line number Diff line number Diff line change
Expand Up @@ -551,14 +551,14 @@ Content-Type: application/json
data-partition-id: {{data_partition_id}}


@FILE_ID = {{uploadURL.response.body.FileID}}
@FILE_URL = {{uploadURL.response.body.Location.SignedURL}}
@FILE_SOURCE = {{uploadURL.response.body.Location.FileSource}}
# @FILE_ID = {{uploadURL.response.body.FileID}}
# @FILE_URL = {{uploadURL.response.body.Location.SignedURL}}
# @FILE_SOURCE = {{uploadURL.response.body.Location.FileSource}}


###
# @name uploadFile
PUT {{FILE_URL}}
PUT {{uploadURL.response.body.Location.SignedURL}}
x-ms-blob-type: BlockBlob

< ./sample.csv
Expand Down Expand Up @@ -601,7 +601,7 @@ data-partition-id: {{data_partition_id}}
"Checksum": "string",
"DatasetProperties": {
"FileSourceInfo": {
"FileSource": "{{FILE_SOURCE}}",
"FileSource": "{{uploadURL.response.body.Location.FileSource}}",
"Name": "sample.csv"
}
},
Expand Down
14 changes: 4 additions & 10 deletions tools/rest-scripts/check-file.http
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@ Accept: application/json
Content-Type: application/json
data-partition-id: {{DATA_PARTITION}}

@FILE_ID = {{uploadURL.response.body.FileID}}
@FILE_URL = {{uploadURL.response.body.Location.SignedURL}}
@FILE_SOURCE = {{uploadURL.response.body.Location.FileSource}}


###
# @name getFileList
Expand All @@ -137,10 +133,10 @@ data-partition-id: {{DATA_PARTITION}}

###
# @name uploadFile
PUT {{FILE_URL}}
PUT {{uploadURL.response.body.Location.SignedURL}}
x-ms-blob-type: BlockBlob

< ./README.md
< ./sample.las


###
Expand Down Expand Up @@ -181,7 +177,7 @@ data-partition-id: {{DATA_PARTITION}}
"SchemaFormatTypeID": "osdu:reference-data--SchemaFormatType:LAS2:",
"DatasetProperties": {
"FileSourceInfo": {
"FileSource": "{{FILE_SOURCE}}",
"FileSource": "{{uploadURL.response.body.Location.FileSource}}",
"Name": "sample.las"
}
},
Expand Down Expand Up @@ -212,12 +208,10 @@ Accept: application/json
Content-Type: application/json
data-partition-id: {{DATA_PARTITION}}

@URL = {{getDownloadUrl.response.body.SignedUrl}}


###
# @name Download
GET {{URL}}
GET {{getDownloadUrl.response.body.SignedUrl}}



Expand Down
7 changes: 2 additions & 5 deletions tools/rest-scripts/check-record.http
Original file line number Diff line number Diff line change
Expand Up @@ -147,18 +147,15 @@ Authorization: Bearer {{access_token}}
Accept: application/json
data-partition-id: {{DATA_PARTITION}}

@version = {{ListRecordVersions.response.body.versions[0]}}


###
# @name GetRecordVersion
GET {{STORAGE_HOST}}/records/{{id}}/{{version}}
GET {{STORAGE_HOST}}/records/{{id}}/{{ListRecordVersions.response.body.versions[0]}}
Authorization: Bearer {{access_token}}
Accept: application/json
data-partition-id: {{DATA_PARTITION}}

@dataID = {{GetRecordVersion.response.body.data.ID}}


# -----------------------
# API search
Expand All @@ -172,7 +169,7 @@ data-partition-id: {{DATA_PARTITION}}

{
"kind": "{{kind}}",
"query": "data.ID:(\"{{dataID}}\")",
"query": "data.ID:(\"{{GetRecordVersion.response.body.data.ID}}\")",
"offset": 0,
"limit": 1
}
Expand Down