Skip to content

Commit

Permalink
(#39) | created | cluster and service
Browse files Browse the repository at this point in the history
  • Loading branch information
vedfordev committed Sep 11, 2024
1 parent eae28e2 commit 27fcfef
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
24 changes: 24 additions & 0 deletions reportingSystem/superset/kubernetes/cluster.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: eksctl.io/v1alpha5

kind: ClusterConfig

metadata:
name: avni-cluster
region: ap-south-1
tags:
creator: avni-cluster

nodeGroups:
- name: supersetprod
instanceType: t2.micro
amiFamily: Ubuntu2204 # need to check
instancePrefix: "avni-cluster-superset"
desiredCapacity: 1
minSize: 1
maxSize: 1
tags:
environment: prod
app: superset
labels:
environment: prod
app: superset
19 changes: 19 additions & 0 deletions reportingSystem/superset/kubernetes/superset-prod-service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: v1

kind: Service

metadata:
name: superset-prod-service
labels:
app: superset
environment: prod

spec:
type: ClusterIP
selector:
app: superset
environment: prod
ports:
- protocol: TCP
port: 8088 # Service port
targetPort: 8088 # Target port on the Superset container

0 comments on commit 27fcfef

Please sign in to comment.