kubernetes deployment strategy notes
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
labels:
|
||||
app: mariadb
|
||||
app.kubernetes.io/component: mariadb
|
||||
app.kubernetes.io/instance: mariadb
|
||||
name: mariadb
|
||||
namespace: gitea
|
||||
spec:
|
||||
clusterIP:
|
||||
internalTrafficPolicy: Cluster
|
||||
ipFamilies:
|
||||
- IPv4
|
||||
ipFamilyPolicy: SingleStack
|
||||
ports:
|
||||
- name: 3306-tcp
|
||||
port: 3306
|
||||
protocol: TCP
|
||||
targetPort: 3306
|
||||
selector:
|
||||
deployment: mariadb
|
||||
sessionAffinity: None
|
||||
type: ClusterIP
|
||||
Reference in New Issue
Block a user