Skip to content

Commit 721bdc6

Browse files
committed
chore(#784): renamed cluster to model
The old name "cluster" bothered me for quite some time. Originally it was choosen because it is a cluster of a bunch of hexagons. But the name fits better for other parts of the infrastructure. Because normally in AI contex these parts are called "model", I renamed them in my project now the same, even the are quite different. Signed-off-by: Tobias Anker <tobias.anker@kitsunemimi.moe>
1 parent ad497e3 commit 721bdc6

142 files changed

Lines changed: 2316 additions & 2457 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@
44

55
### BREAKING-CHANGES
66

7+
#### API-Breaking
8+
9+
- renamed cluster to model
10+
711
#### Database-Breaking
812

913
- in the meta-cluster table of hanami the name of the cluster is now also stored
14+
- renamed cluster to model
1015

1116
### Added
1217

Cargo.lock

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ members = [
88
"src/binaries/omamori",
99
"src/binaries/onsen",
1010
"src/libs/rust/ainari_common",
11-
"src/libs/rust/ainari_cluster_parser",
11+
"src/libs/rust/ainari_model_parser",
1212
"src/libs/rust/ainari_dataset",
1313
"src/libs/rust/ainari_api",
1414
"src/libs/rust/ainari_hardware",

deploy/k8s/ainari/templates/dashboard/dashboard-tls-service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ spec:
2626
protocol: TCP
2727
port: 8443
2828
targetPort: 8443
29-
type: ClusterIP
29+
type: ModelIP

deploy/k8s/ainari/templates/hanami/hanami-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ data:
3131
file_path = "/etc/ainari/hanami/hanami_db"
3232
3333
[miko]
34-
address = "https://miko-tls-service.{{ .Release.Namespace }}.svc.cluster.local:8443"
34+
address = "https://miko-tls-service.{{ .Release.Namespace }}.svc.model.local:8443"
3535
3636
kind: ConfigMap

deploy/k8s/ainari/templates/hanami/hanami-tls-service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ spec:
2626
protocol: TCP
2727
port: 8443
2828
targetPort: 8443
29-
type: ClusterIP
29+
type: ModelIP

deploy/k8s/ainari/templates/miko/miko-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,18 @@ data:
3535
3636
[endpoints.hanami]
3737
public_address = "https://{{ .Values.hanami.api.domain }}:443"
38-
internal_address = "https://hanami-tls-service.{{ .Release.Namespace }}.svc.cluster.local:8443"
38+
internal_address = "https://hanami-tls-service.{{ .Release.Namespace }}.svc.model.local:8443"
3939
4040
[endpoints.ryokan]
4141
public_address = "https://{{ .Values.ryokan.api.domain }}:443"
42-
internal_address = "https://ryokan-tls-service.{{ .Release.Namespace }}.svc.cluster.local:8443"
42+
internal_address = "https://ryokan-tls-service.{{ .Release.Namespace }}.svc.model.local:8443"
4343
4444
[endpoints.torii]
4545
public_address = "https://{{ .Values.torii.api.domain }}:443"
46-
internal_address = "https://torii-tls-service.{{ .Release.Namespace }}.svc.cluster.local:8443"
46+
internal_address = "https://torii-tls-service.{{ .Release.Namespace }}.svc.model.local:8443"
4747
4848
[endpoints.omamori]
4949
public_address = "https://{{ .Values.omamori.api.domain }}:443"
50-
internal_address = "https://omamori-tls-service.{{ .Release.Namespace }}.svc.cluster.local:8443"
50+
internal_address = "https://omamori-tls-service.{{ .Release.Namespace }}.svc.model.local:8443"
5151
5252
kind: ConfigMap

deploy/k8s/ainari/templates/miko/miko-nginx-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ data:
9696
{
9797
listen 80;
9898
server_tokens off;
99-
server_name miko-tls-service.{{ .Release.Namespace }}.svc.cluster.local";
99+
server_name miko-tls-service.{{ .Release.Namespace }}.svc.model.local";
100100
return 301 https://$host$request_uri;
101101
}
102102
103103
server
104104
{
105105
server_tokens off;
106-
server_name miko-tls-service.{{ .Release.Namespace }}.svc.cluster.local";
106+
server_name miko-tls-service.{{ .Release.Namespace }}.svc.model.local";
107107
108108
listen 8443 ssl;
109109
listen [::]:8443 ssl;
@@ -155,7 +155,7 @@ data:
155155
156156
proxy_pass http://127.0.0.1:11417/;
157157
proxy_read_timeout 180;
158-
proxy_redirect http://127.0.0.1:11417 https://miko-tls-service.{{ .Release.Namespace }}.svc.cluster.local";
158+
proxy_redirect http://127.0.0.1:11417 https://miko-tls-service.{{ .Release.Namespace }}.svc.model.local";
159159
}
160160
}
161161
}

deploy/k8s/ainari/templates/miko/miko-tls-service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ spec:
2626
protocol: TCP
2727
port: 8443
2828
targetPort: 8443
29-
type: ClusterIP
29+
type: ModelIP

deploy/k8s/ainari/templates/omamori/omamori-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ data:
3131
file_path = "/etc/ainari/omamori/omamori_db"
3232
3333
[miko]
34-
address = "https://miko-tls-service.{{ .Release.Namespace }}.svc.cluster.local:8443"
34+
address = "https://miko-tls-service.{{ .Release.Namespace }}.svc.model.local:8443"
3535
3636
[simple_crypto]
3737
key_b64 = "q9vN4CjOQm5wKzyzjZtS7t4oQp8oQK1JvU5xgq8vFzE="

0 commit comments

Comments
 (0)