Tye is a tool that makes developing, testing, and deploying microservices and distributed applications easier. Project Tye includes a local orchestrator to make developing microservices easier and the ability to deploy microservices to Kubernetes with min
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
826 B

kind: Deployment
apiVersion: apps/v1
metadata:
name: redis
labels:
app.kubernetes.io/name: redis
app.kubernetes.io/part-of: microservice
spec:
selector:
matchLabels:
app.kubernetes.io/name: redis
replicas: 1
template:
metadata:
labels:
app.kubernetes.io/name: redis
app.kubernetes.io/part-of: microservice
spec:
containers:
- name: redis
image: redis
resources:
requests:
cpu: 100m
memory: 100Mi
ports:
- containerPort: 6379
---
apiVersion: v1
kind: Service
metadata:
name: redis
labels:
app.kubernetes.io/name: redis
app.kubernetes.io/part-of: microservice
spec:
ports:
- port: 6379
targetPort: 6379
selector:
app.kubernetes.io/name: redis