• This project
    • Loading...
  • Sign in

2021-1-capstone-design2 / 2015104215

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • 2015104215
  • project
  • docker_image
  • frontend
  • deployment.yml
  • jaehyuk-jang's avatar
    Add k8s setting for fullstack · eb871e15
    eb871e15
    jaehyuk-jang authored 2021-06-10 23:13:07 +0900
deployment.yml 482 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
apiVersion: apps/v1
kind: Deployment
metadata:
  name: frontend
  labels:
    app: frontend
    name: frontend
spec:
  selector:
    matchLabels:
      name: frontend
      app: frontend
  replicas: 1
  template:
    metadata:
      name: frontend
      labels:
        name: frontend
        app: frontend
    spec:
      containers:
        - name: frontend
          image: khujay15/docker-next-test:0.5
          ports:
          - containerPort: 3000
            name: frontend