apiVersion: apps/v1
kind: Deployment
metadata:
  name: kevin-blog
spec:
  replicas: 1
  selector:
    matchLabels:
      app: blog
  template:
    metadata:
      labels:
        app: blog
    spec:
      imagePullSecrets:
      - name: hk-registry
      containers:
      - name: blog
        image: hkccr.ccs.tencentyun.com/blogs/blog:latest
        ports:
        - name: http
          containerPort: 80
          protocol: TCP
        - name: https
          containerPort: 443
          protocol: TCP