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
*[Zenith](https://github.com/stackhpc/zenith) - secure, tunnelling application proxy used to expose platform services
16
-
*[Cluster API addon provider](https://github.com/stackhpc/cluster-api-addon-provider) - addons for Cluster API clusters
17
-
*[Cluster API janitor for OpenStack](https://github.com/stackhpc/cluster-api-janitor-openstack) - resource cleanup for Cluster API clusters on OpenStack clouds
9
+
In order to develop Azimuth, you first need a running Azimuth instance.
18
10
19
-
It is useful to develop these components in the context of a running Azimuth installation,
20
-
as they have dependencies on each other.
11
+
Each developer should have their own independent instance of Azimuth for development,
12
+
as during development they will make changes to the running Azimuth components that may
13
+
conflict with or break things for others.
21
14
22
-
To enable this, Azimuth uses [Tilt](https://tilt.dev/) to provide a developer environment
23
-
where code under development is automatically built and injected into a live system that
24
-
you can interact with. Tilt provides a dashboard that can be used to drill down into
25
-
build failures and the logs of the components under development.
15
+
### Creating a dev environment
26
16
27
-

17
+
Azimuth supports using a single [configuration environment](../environments.md) to deploy multiple
18
+
independent Azimuth instances. When
19
+
[activating an environment](../deployment/#activating-an-environment), a unique instance name
20
+
can be given as a second argument to the `activate` script, e.g.:
28
21
29
-
### Prerequisites
30
-
31
-
In order to use Tilt to develop Azimuth, the following tools must be available on your
32
-
development machine (in addition to those required to install Azimuth itself):
33
-
34
-
* The [Tilt CLI](https://docs.tilt.dev/install.html)
35
-
* A `docker` command, e.g. [Docker Desktop](https://docs.docker.com/desktop/)
36
-
* The [kubectl command](https://kubernetes.io/docs/tasks/tools/#kubectl)
37
-
* The [Helm CLI](https://helm.sh/docs/intro/install/)
22
+
```bash
23
+
# Activating an environment with a unique instance name
24
+
source ./bin/activate my-environment jbloggs
25
+
```
38
26
39
-
For developing the Azimuth UI, the following are also required:
27
+
In order for an environment to be used in this way, it must be specially prepared to be more
28
+
dynamic than an environment that you would use for staging or production. In particular, only
29
+
[single node deployments](../configuration/02-deployment-method.md#single-node) are usable in
30
+
this way, as HA deployments do not support dynamically allocating a floating IP for the ingress
31
+
controller.
40
32
41
-
*[node.js](https://nodejs.org)
42
-
* The [Yarn Classic](https://classic.yarnpkg.com/lang/en/docs/install/) package manager
33
+
It is recommended that you create an environment in your Azimuth configuration repository
34
+
for doing Azimuth development on your cloud. This environment should include any site-specific
35
+
customisations that are required, usually by building on a
36
+
[site mixin](../environments.md#using-mixin-environments). The
*[Zenith](https://github.com/stackhpc/zenith) - secure, tunnelling application proxy used to expose platform services
88
+
*[Cluster API addon provider](https://github.com/stackhpc/cluster-api-addon-provider) - addons for Cluster API clusters
89
+
*[Cluster API janitor for OpenStack](https://github.com/stackhpc/cluster-api-janitor-openstack) - resource cleanup for Cluster API clusters on OpenStack clouds
90
+
91
+
It is useful to develop these components in the context of a running Azimuth installation,
92
+
as they have dependencies on each other.
93
+
94
+
To enable this, Azimuth uses [Tilt](https://tilt.dev/) to provide a developer environment
95
+
where code under development is automatically built and injected into a live system that
96
+
you can interact with. Tilt provides a dashboard that can be used to drill down into
97
+
build failures and the logs of the components under development.
98
+
99
+

100
+
101
+
### Prerequisites
102
+
103
+
In order to use Tilt to develop Azimuth, the following tools must be available on your
104
+
development machine (in addition to those required to install Azimuth itself):
105
+
106
+
* The [Tilt CLI](https://docs.tilt.dev/install.html)
107
+
* A `docker` command, e.g. [Docker Desktop](https://docs.docker.com/desktop/)
108
+
* The [kubectl command](https://kubernetes.io/docs/tasks/tools/#kubectl)
109
+
* The [Helm CLI](https://helm.sh/docs/intro/install/)
110
+
111
+
For developing the Azimuth UI, the following are also required:
112
+
113
+
*[node.js](https://nodejs.org)
114
+
* The [Yarn Classic](https://classic.yarnpkg.com/lang/en/docs/install/) package manager
115
+
84
116
### Configuring a container registry
85
117
86
118
Azimuth's Tilt configuration looks for a file called `tilt-settings.yaml` that defines settings
0 commit comments