Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ranchodeluxe committed Jan 31, 2024
1 parent dbbf520 commit c92ddc4
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 16 deletions.
6 changes: 3 additions & 3 deletions helm-charts/flink-historyserver/templates/efs.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: {{ .Release.Name }}-efs-flink-history
name: {{ .Release.Name }}-efs-flink-history-sc
parameters:
provisioningMode: efs-ap
fileSystemId: "{{- .Values.efsFileSystemId }}"
Expand All @@ -10,7 +10,7 @@ provisioner: "efs.csi.aws.com"
apiVersion: v1
kind: PersistentVolume
metadata:
name: flink-historyserver-efs-pv
name: {{ .Release.Name }}-flink-historyserver-efs-pv
spec:
capacity:
storage: "1Mi"
Expand All @@ -31,7 +31,7 @@ metadata:
spec:
accessModes:
- ReadWriteMany
storageClassName: {{ .Release.Name }}-efs-flink-history
storageClassName: {{ .Release.Name }}-efs-flink-history-sc
resources:
requests:
storage: 1Mi
9 changes: 1 addition & 8 deletions helm-charts/flink-historyserver/templates/historyserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,7 @@ spec:
name: history
protocol: TCP
resources:
limits:
cpu: 300m
memory: 1536Mi
requests:
cpu: 300m
memory: 1536Mi
{{ toYaml .Values.resources | indent 10 }}
startupProbe:
httpGet:
path: /config
Expand Down Expand Up @@ -90,5 +85,3 @@ spec:
selector:
app: historyserver
type: ClusterIP
status:
loadBalancer: {}
3 changes: 1 addition & 2 deletions helm-charts/flink-historyserver/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"required": ["efsFileSystemId"],
"properties": {
"efsFileSystemId": {
"type": "string",
"minLength": 1
"type": "string"
}
}
}
10 changes: 8 additions & 2 deletions helm-charts/flink-historyserver/values.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
efsFileSystemId: ""
flinkVersion: "1.16"
flinkVersion: "1.16"
resources:
limits:
cpu: 300m
memory: 1536Mi
requests:
cpu: 300m
memory: 1536Mi
1 change: 0 additions & 1 deletion terraform/aws/.gitignore

This file was deleted.

0 comments on commit c92ddc4

Please sign in to comment.