Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (23 sloc) 403 Bytes
description
Services provide the means for pods to communicate with each other.

Services

Example Service Spec

{% code-tabs %} {% code-tabs-item title="service.yaml" %}

apiVersion: v1
kind: Service
metadata:
  name: mysql
  labels:
    app: mysql
spec:
  ports:
    - port: 3306
      targetPort: 3306
  selector:
    app: mysql

{% endcode-tabs-item %} {% endcode-tabs %}

You can’t perform that action at this time.