apiVersion: apps/v1
kind: Deployment
metadata:
  name: userjava-deployment
  namespace: backend
  labels:
    app: userjava
spec:
  replicas: 1
  selector:
    matchLabels:
      app: userjava
  template:
    metadata:
      labels:
        app: userjava
    spec:
      containers:
      - name: userjava
        image: ka0923.azurecr.io/userjava:v1
        ports:
        - containerPort: 80