Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
TFS
documentation
Commits
ed7e420f
Commit
ed7e420f
authored
1 month ago
by
Lluis Gifre Renom
Browse files
Options
Downloads
Patches
Plain Diff
Updated deployment steps
parent
7901dc75
No related branches found
No related tags found
1 merge request
!17
TeraFlowSDN Release 5
Pipeline
#14244
failed
1 month ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/deployment_guide.md
+6
-8
6 additions, 8 deletions
doc/deployment_guide.md
with
6 additions
and
8 deletions
doc/deployment_guide.md
+
6
−
8
View file @
ed7e420f
...
@@ -704,8 +704,14 @@ sudo systemctl restart docker
...
@@ -704,8 +704,14 @@ sudo systemctl restart docker
# Install MicroK8s
# Install MicroK8s
sudo
snap
install
microk8s
--classic
--channel
=
1.29/stable
sudo
snap
install
microk8s
--classic
--channel
=
1.29/stable
# Wait until MicroK8s is ready
microk8s.status
--wait-ready
# Create alias for command "microk8s.kubectl" to be usable as "kubectl"
# Create alias for command "microk8s.kubectl" to be usable as "kubectl"
sudo
snap
alias
microk8s.kubectl kubectl
sudo
snap
alias
microk8s.kubectl kubectl
# Create alias for command "microk8s.helm3" to be usable as "helm3"
sudo
snap
alias
microk8s.helm3 helm3
```
```
It is important to make sure that
`ufw`
will not interfere with the internal pod-to-pod
It is important to make sure that
`ufw`
will not interfere with the internal pod-to-pod
...
@@ -796,14 +802,12 @@ If so, execute it and retry enabling `community` addon.
...
@@ -796,14 +802,12 @@ If so, execute it and retry enabling `community` addon.
The __mandatory__ addons to be enabled are:
The __mandatory__ addons to be enabled are:
-
`dns`
: enables resolving the pods and services by name
-
`dns`
: enables resolving the pods and services by name
-
`helm3`
: required to install NATS
-
`hostpath-storage`
: enables providing storage for the pods (required by
`registry`
)
-
`hostpath-storage`
: enables providing storage for the pods (required by
`registry`
)
-
`ingress`
: deploys an ingress controller to expose the microservices outside Kubernetes
-
`ingress`
: deploys an ingress controller to expose the microservices outside Kubernetes
-
`registry`
: deploys a private registry for the TFS controller images
-
`registry`
: deploys a private registry for the TFS controller images
```
bash
```
bash
microk8s.enable dns
microk8s.enable dns
microk8s.enable helm3
microk8s.enable hostpath-storage
microk8s.enable hostpath-storage
microk8s.enable ingress
microk8s.enable ingress
microk8s.enable registry
microk8s.enable registry
...
@@ -832,12 +836,6 @@ To confirm everything is up and running:
...
@@ -832,12 +836,6 @@ To confirm everything is up and running:
until all pods are __Ready__ and __Running__.
until all pods are __Ready__ and __Running__.
3.
If it takes too long for the Pods to be ready, __we observed that rebooting the machine may help__.
3.
If it takes too long for the Pods to be ready, __we observed that rebooting the machine may help__.
Then, create aliases to make the commands easier to access:
```
bash
sudo
snap
alias
microk8s.helm3 helm3
```
If
`linkerd`
is enabled, run the following commands to add the alias to the command, and validate it is working correctly:
If
`linkerd`
is enabled, run the following commands to add the alias to the command, and validate it is working correctly:
```
bash
```
bash
...
...
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