apiVersion: v1
kind: Service
metadata:
  name: kevin-blog
spec:
  selector:
    app: blog
  type: NodePort
  ports:
    - name: http
      protocol: TCP
      port: 80
      nodePort: 31080
    - name: https
      protocol: TCP
      port: 443
      nodePort: 31443