Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-autograde
Manage
Activity
Members
Labels
Plan
Issues
59
Issue boards
Milestones
Wiki
Code
Merge requests
13
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Harbor 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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CS-107
moodle-autograde
Merge requests
!52
Update README and staging/local setup
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update README and staging/local setup
ds/db-service-lb
into
master
Overview
1
Commits
3
Pipelines
0
Changes
18
Merged
Dixit Sabharwal
requested to merge
ds/db-service-lb
into
master
1 year ago
Overview
1
Commits
3
Pipelines
0
Changes
18
Expand
👍
0
👎
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
15d7c0f4
3 commits,
1 year ago
18 files
+
255
−
143
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
18
Search (e.g. *.vue) (Ctrl+P)
k8s/deploy-envs/ci/kustomization.yaml
0 → 100644
+
71
−
0
Options
apiVersion
:
kustomize.config.k8s.io/v1beta1
kind
:
Kustomization
resources
:
-
../../spring-app
-
../../moodle
-
namespaces.yaml
-
persistent-volumes.yaml
secretGenerator
:
-
name
:
grading-service-variables
type
:
Opaque
literals
:
-
API_KEY=12345
-
MOODLE_BASEURL=http://moodle:80
-
MOODLE_AUTOGRADE_TOKEN=xxxxxxxxxxxxxx
-
GRADING_SERVICE_NAME=grading-service-tcp
-
name
:
regcred-ghcr
type
:
Opaque
generatorOptions
:
disableNameSuffixHash
:
true
patches
:
# Remove volume moodle-data-pvc from pod template and add volumeClaimTemplates to moodle statefulset
-
target
:
version
:
v1
kind
:
StatefulSet
name
:
moodle
labelSelector
:
app=moodle
patch
:
|-
- op: remove
path: /spec/template/spec/volumes/0
- op: add
path: /spec/volumeClaimTemplates
value:
- metadata:
name: moodle-data-pvc
spec:
resources:
requests:
storage: 500Mi
accessModes:
- ReadWriteOnce
selector:
matchLabels:
app: moodle-data
# Remove volume db-data-pvc from pod template and add volumeClaimTemplates to db statefulset
-
target
:
version
:
v1
kind
:
StatefulSet
name
:
db
labelSelector
:
app=db
patch
:
|-
- op: remove
path: /spec/template/spec/volumes/0
- op: add
path: /spec/volumeClaimTemplates
value:
- metadata:
name: db-data-pvc
spec:
resources:
requests:
storage: 500Mi
accessModes:
- ReadWriteOnce
selector:
matchLabels:
app: db-data
Loading