Skip to content

Instantly share code, notes, and snippets.

@nilayasiktoprak
Created April 6, 2022 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nilayasiktoprak/b34863d8badb9dd17cc0f756897a5482 to your computer and use it in GitHub Desktop.
Save nilayasiktoprak/b34863d8badb9dd17cc0f756897a5482 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: oracle-db
name: oracle-nosql
spec:
replicas: 1
selector:
matchLabels:
app: oracle-db
template:
metadata:
labels:
app: oracle-db
spec:
containers:
- image: oracle/nosql:19.5-ce
imagePullPolicy: Never
name: oracle-nosql
ports:
- containerPort: 5000
restartPolicy: Always
---
apiVersion: v1
kind: Service
metadata:
name: oracle-nosql-service
spec:
ports:
- name: kvstore
port: 80
protocol: TCP
targetPort: 80
nodePort: 30008
selector:
app: oracle-db
type: NodePort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment