Skip to content

Commit

Permalink
Merge pull request #25 from Cray-HPE/CASMINST-4296-master
Browse files Browse the repository at this point in the history
Add tenants and hnc-system namespaces
  • Loading branch information
bklei authored May 18, 2022
2 parents fba88a3 + 744bcdf commit 8a8c469
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes/cray-drydock/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#
apiVersion: v2
name: cray-drydock
version: 2.13.0
version: 2.13.1
description: Foundational resources and baseline building-blocks for a Cray Kubernetes
cluster
keywords:
Expand Down
52 changes: 52 additions & 0 deletions kubernetes/cray-drydock/templates/namespaces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,55 @@ spec:
default:
cpu: "2"
memory: "2Gi"
---
apiVersion: v1
kind: Namespace
metadata:
name: tenants
labels:
name: tenants
{{- include "cray-drydock.labels" . | nindent 4 }}
istio-injection: enabled
---
apiVersion: v1
kind: LimitRange
metadata:
name: cpu-mem-limit-range
namespace: tenants
labels:
{{- include "cray-drydock.labels" . | nindent 4 }}
spec:
limits:
- type: Container
defaultRequest:
cpu: "10m"
memory: "64Mi"
default:
cpu: "2"
memory: "2Gi"
---
apiVersion: v1
kind: Namespace
metadata:
name: hnc-system
labels:
name: hnc-system
{{- include "cray-drydock.labels" . | nindent 4 }}
istio-injection: enabled
---
apiVersion: v1
kind: LimitRange
metadata:
name: cpu-mem-limit-range
namespace: hnc-system
labels:
{{- include "cray-drydock.labels" . | nindent 4 }}
spec:
limits:
- type: Container
defaultRequest:
cpu: "10m"
memory: "64Mi"
default:
cpu: "2"
memory: "2Gi"

0 comments on commit 8a8c469

Please sign in to comment.