Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
meanspec-IaC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MeanSpec (SCE338 2024-2 Group 1)
meanspec-IaC
Commits
2cc8b543
Commit
2cc8b543
authored
7 months ago
by
Eunhak Lee
Browse files
Options
Downloads
Patches
Plain Diff
feat: kubernetes 에 맞는 업데이트 로직
parent
6b9a78c5
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
update_backend.sh
+1
-4
1 addition, 4 deletions
update_backend.sh
update_frontend.sh
+3
-3
3 additions, 3 deletions
update_frontend.sh
with
4 additions
and
7 deletions
update_backend.sh
+
1
−
4
View file @
2cc8b543
docker compose stop backend
microk8s kubectl rollout restart deploy/backend
docker
rm
meanspec-backend-1
docker compose
-f
docker-compose.yml
-f
docker-compose.dev.yml up
-d
docker compose restart nginx
This diff is collapsed.
Click to expand it.
update_frontend.sh
+
3
−
3
View file @
2cc8b543
docker
rm
meanspec-
frontend-dropper
-1
microk8s kubectl delete
-f
pods/
frontend-dropper
.yml
docker compose
-f
docker-compose.yml
-f
docker-compose.dev.yml up
-d
microk8s kubectl apply
-f
pods/frontend-dropper.yml
docker compose restart nginx
microk8s kubectl
exec
pods/nginx
--
nginx
-s
reload
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment