Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
apiVersion: apps/v1
kind: Deployment
metadata:
name: ostoy-microservice
labels:
app: ostoy
spec:
selector:
matchLabels:
app: ostoy-microservice
replicas: 1
template:
metadata:
labels:
app: ostoy-microservice
spec:
containers:
- name: ostoy-microservice
image: quay.io/ostoylab/ostoy-microservice:1.4.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
protocol: TCP
resources:
requests:
memory: "128Mi"
cpu: "50m"
limits:
memory: "256Mi"
cpu: "100m"
---
apiVersion: v1
kind: Service
metadata:
name: ostoy-microservice-svc
labels:
app: ostoy-microservice
spec:
type: ClusterIP
ports:
- port: 8080
targetPort: 8080
protocol: TCP
selector:
app: ostoy-microservice