Commit 2bd686cf authored by liaozan's avatar liaozan 🏀

add k8s-service-template.yml

parent ba6d3577
apiVersion: v1
kind: Service
metadata:
name: ${SERVICE_NAME}
namespace: ${NAMESPACE}
labels:
app: ${SERVICE_NAME}
spec:
type: ClusterIP
ports:
- port: ${SERVICE_PORT}
targetPort: ${SERVICE_PORT}
selector:
app: ${APP_NAME}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment