Skip to content

Commit

Permalink
feat: create custom namespace for reference deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
jfaldanam committed Jun 17, 2024
1 parent 7db27b0 commit 2657bae
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions deployments/eidos-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
apiVersion: v1
kind: Namespace
metadata:
name: eidos-namespace
labels:
app: eidos
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: eidos-deployment
labels:
app: eidos
namespace: eidos-namespace
spec:
replicas: 3
selector:
Expand All @@ -13,6 +21,7 @@ spec:
metadata:
labels:
app: eidos
namespace: eidos-namespace
spec:
containers:
- name: eidos
Expand Down Expand Up @@ -48,6 +57,7 @@ apiVersion: v1
kind: Service
metadata:
name: eidos-service
namespace: eidos-namespace
spec:
type: NodePort
selector:
Expand All @@ -61,6 +71,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: eidos-configmap
namespace: eidos-namespace
data:
EIDOS_API_KEY: "Sample_API_key_for_eidos"
EIDOS_ROOT_PATH: "/eidos"
Expand Down

0 comments on commit 2657bae

Please sign in to comment.