You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Tutorial: Automate Installation with Embedded Cluster
2
+
3
+
This tutorial shows how to install a release using Embedded Cluster from the command line without using the Admin Console UI. This is also known as a _headless_ installation.
4
+
5
+
## Set Up
6
+
7
+
Get access to a VM.
8
+
9
+
## Tutorial
10
+
11
+
1. Create an app.
12
+
13
+
1. Get the release files and Helm chart archive.
14
+
15
+
1. Add the files to a new release with `replicated release create --yaml-dir manifests --promote Unstable`.
16
+
17
+
1. Create a customer with Embedded Cluster installation.
18
+
19
+
1. If you are using Compatibility Matrix, create the VM:
20
+
21
+
1. Create the VM
22
+
1. Create the DNS records.
23
+
24
+
1. SSH onto your VM.
25
+
26
+
1. Download the installation assets and untar. You can add these commands to CI/CD workflows to automate this step.
27
+
28
+
1. Create the ConfigValues file:
29
+
30
+
```yaml
31
+
apiVersion: kots.io/v1beta1
32
+
kind: ConfigValues
33
+
spec:
34
+
values:
35
+
slackernews_domain:
36
+
value: YOUR_DOMAIN
37
+
```
38
+
Where `YOUR_DOMAIN` is the domain to use for SlackerNews. For Compatibility Matrix VMs, this is the hostname provided for the DNS record you created with port 443.
39
+
40
+
1. Transfer the ConfigValues to your VM using scp.
41
+
42
+
1. Run the following command to install:
43
+
44
+
1. Open a shell to watch the application resources deploy.
45
+
46
+
1. `sudo ./APP_SLUG shell`
47
+
48
+
1. `kubectl get all --namespace slackernews`
49
+
50
+
1. Go to the domain that you listed for the SlackerNews to open the application.
0 commit comments