-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: feature discovery updates for inventory chart
- Loading branch information
chainzero
authored and
chainzero
committed
Jan 24, 2024
1 parent
4ef9e95
commit a0dd57a
Showing
8 changed files
with
217 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
version: v1 | ||
cluster_storage: | ||
- default | ||
- beta2 | ||
exclude: | ||
nodes: [] | ||
node_storage: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: DaemonSet | ||
metadata: | ||
name: operator-inventory-node | ||
namespace: akash-services | ||
labels: | ||
akash.network: "true" | ||
app.kubernetes.io/name: operator-inventory-node | ||
app.kubernetes.io/component: inventory | ||
app.kubernetes.io/part-of: operator | ||
spec: | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: operator-inventory-node | ||
app.kubernetes.io/component: inventory | ||
app.kubernetes.io/part-of: operator | ||
template: | ||
metadata: | ||
labels: | ||
akash.network: "true" | ||
app.kubernetes.io/name: operator-inventory-node | ||
app.kubernetes.io/component: inventory | ||
app.kubernetes.io/part-of: operator | ||
spec: | ||
serviceAccountName: operator-inventory-node | ||
containers: | ||
- name: inventory-node | ||
image: ghcr.io/akash-network/provider | ||
args: | ||
- "provider-services" | ||
- "operator" | ||
- "inventory" | ||
- "node" | ||
imagePullPolicy: IfNotPresent | ||
ports: | ||
- containerPort: 8081 | ||
name: grpc | ||
resources: | ||
requests: | ||
memory: "64Mi" | ||
cpu: "250m" | ||
limits: | ||
memory: "128Mi" | ||
cpu: "500m" | ||
env: | ||
- name: AP_POD_NAME | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.name | ||
- name: AP_NODE_NAME | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: spec.nodeName |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
charts/akash-inventory-operator/templates/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: akash-services | ||
resources: | ||
- service-accounts.yaml | ||
- cluster-roles.yaml | ||
- role-bindings.yaml | ||
- service.yaml | ||
- daemonset.yaml | ||
- deployment.yaml | ||
configMapGenerator: | ||
- name: operator-inventory | ||
files: | ||
- config.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 13 additions & 1 deletion
14
charts/akash-inventory-operator/templates/serviceaccount.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,23 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: akash-inventory-operator | ||
name: operator-inventory | ||
namespace: akash-services | ||
labels: | ||
akash.network: "true" | ||
app.kubernetes.io/name: akash | ||
app.kubernetes.io/instance: inventory | ||
app.kubernetes.io/component: operator | ||
automountServiceAccountToken: true | ||
--- | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: operator-inventory-node | ||
namespace: akash-services | ||
labels: | ||
akash.network: "true" | ||
app.kubernetes.io/name: operator-inventory-node | ||
app.kubernetes.io/component: inventory | ||
app.kubernetes.io/part-of: operator |