Skip to content

Commit e82651d

Browse files
Merge pull request mendix#10776 from mendix/kk-pc-apidupdate
Private Cloud updates
2 parents d9f9f0b + a3fc712 commit e82651d

6 files changed

Lines changed: 351 additions & 145 deletions

File tree

content/en/docs/deployment/private-cloud/private-cloud-cluster/_index.md

Lines changed: 37 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,18 +1115,30 @@ Click the **Details** button for the namespace you want to manage.
11151115

11161116
On the namespace management page, there are a number of tabs which allow you to manage aspects of your namespace :
11171117

1118-
* Apps
1119-
* Members
1120-
* Operate
1121-
* Plans
1122-
* Installation
1123-
* Additional information
1124-
* Customization
1125-
* PCLM Statistics
1118+
* [Apps](#apps)
1119+
* [Members](#members)
1120+
* [Operate](#operate)
1121+
* [Plans](#plans)
1122+
* [Installation](#installation)
1123+
* [Additional information](#additional-information)
1124+
* [Customization](#customization)
1125+
* [PCLM Statistics](#pclm-statistics)
11261126

11271127
See the sections below for more information.
11281128

1129-
You can also delete your namespace from the cluster manager by clicking **Delete Namespace** ({{% icon name="trash-can" %}}) in the top right.
1129+
You can also [rotate your credentials](#rotate-credentials), or [delete](#delete-namespace) your namespace from the cluster manager.
1130+
1131+
#### Rotating Credentials {#rotate-credentials}
1132+
1133+
Rotating your credentials means replacing your current Mendix Agent secret with a new one. Rotate your credentials to ensure that your environment is secure, for example, in case of a credentials leak.
1134+
1135+
To rotate the credentials, click **Rotate Credentials** in the top right, and then follow the on-screen wizard.
1136+
1137+
{{< figure src="/attachments/deployment/private-cloud/private-cloud-cluster/RotateCredential.png" class="no-border" >}}
1138+
1139+
#### Deleting Namespaces {#delete-namespace}
1140+
1141+
To delete a namespace, click **Delete Namespace** ({{% icon name="trash-can" %}}) in the top right.
11301142

11311143
{{< figure src="/attachments/deployment/private-cloud/private-cloud-cluster/image25.png" class="no-border" >}}
11321144

@@ -1251,7 +1263,7 @@ You can also see an activity log containing the following information for all na
12511263
* When deployment strategy is enabled for an environment in a namespace
12521264
* When deployment strategy is disabled for an environment in a namespace
12531265

1254-
#### Apps
1266+
#### Apps {#apps}
12551267

12561268
The **Apps** tab of namespace details in the cluster manager page lists all the app environments which are deployed to this namespace.
12571269

@@ -1305,7 +1317,7 @@ The deployment strategy now includes the following options under the **Deploymen
13051317

13061318
{{< figure src="/attachments/deployment/private-cloud/private-cloud-cluster/deploymentStrategy.png" class="no-border" >}}
13071319

1308-
#### Members
1320+
#### Members {#members}
13091321

13101322
By default, the cluster manager, who created the cluster in Mendix, and anyone added as a cluster manager has full administration rights to the cluster and its namespaces. These cluster managers will also need to be given the appropriate permissions on the Kubernetes or OpenShift Cluster. The administration rights are:
13111323

@@ -1355,22 +1367,22 @@ You can invite additional members to the namespace, and configure their role dep
13551367
3. Enter the **Email** of the person you want to invite.
13561368
4. If you prefer the individual to join as a namespace member automatically, without requiring them to manually accept the invitation, you can enable the **Automatically accept invites** option.
13571369

1358-
{{% alert color="info" %}}The **Automatically accept invites** option is applicable only when the invited users have the same email domain as yours.{{% /alert %}}
1370+
{{% alert color="info" %}}The **Automatically accept invites** option is applicable only when the invited users have the same email domain as yours.{{% /alert %}}
13591371

13601372
5. Give them the rights they need. This can be:
13611373

13621374
1. **Developer** – a standard set of rights needed by a developer, these are listed on the screen
13631375
2. **Administrator** – a standard set of rights needed by an administrator, these are listed on the screen
13641376
3. **Custom** – This option is now deprecated.
13651377

1366-
{{% alert color="info" %}}
1367-
The custom permission if needed to be edited, a role need to be assigned with appropriate permissions. See [Roles and Permissions](/developerportal/deploy/private-cloud-cluster/#rolesandpermissions) for more information.
1368-
{{% /alert %}}
1378+
{{% alert color="info" %}}
1379+
The custom permission if needed to be edited, a role need to be assigned with appropriate permissions. See [Roles and Permissions](/developerportal/deploy/private-cloud-cluster/#rolesandpermissions) for more information.
1380+
{{% /alert %}}
13691381

1370-
{{% alert color="info" %}}
1371-
If an application is in the Stopped state, the scaling does not come into effect until the application is Started. This means that you have to click **Start application** in order for the changes to be sent to the cluster.
1372-
Along with this, we have also decoupled the permission for modifying the MxAdmin password and managing environments.
1373-
{{% /alert %}}
1382+
{{% alert color="info" %}}
1383+
If an application is in the Stopped state, the scaling does not come into effect until the application is Started. This means that you have to click **Start application** in order for the changes to be sent to the cluster.
1384+
Along with this, we have also decoupled the permission for modifying the MxAdmin password and managing environments.
1385+
{{% /alert %}}
13741386

13751387
6. Click **Send Invite** to send an invite to this person.
13761388

@@ -1406,7 +1418,7 @@ Open the **Operate** tab, enter the URLs relevant to your namespace, and click *
14061418

14071419
{{< figure src="/attachments/deployment/private-cloud/private-cloud-cluster/image32.png" class="no-border" >}}
14081420

1409-
#### Plans
1421+
#### Plans {#plans}
14101422

14111423
The **Plans** tab shows you the database and storage plans which are currently configured for your namespace.
14121424

@@ -1443,7 +1455,7 @@ kubectl -n {namespace} delete storageplan {StoragePlanName}
14431455

14441456
{{% /alert %}}
14451457

1446-
#### Custom Core Resource Plan {#custom-core-resource-plan}
1458+
##### Custom Core Resource Plan {#custom-core-resource-plan}
14471459

14481460
Here, you can create customized plan for your core resources.
14491461

@@ -1472,19 +1484,19 @@ Ephemeral Storage is a temporary storage attached to the lifecycle of a pod. Hen
14721484
Once you enable the **Use custom core resources plans** button, you cannot switch back to the default core plans until you delete all the environments using the custom core plans and disable **Use custom core resources plans** button. A warning message with the same information is displayed when trying to enable this feature.
14731485
{{% /alert %}}
14741486

1475-
#### Installation
1487+
#### Installation {#installation}
14761488

14771489
The **Installation** tab shows you the Configuration Tool which you used to create the namespace, together with the parameters which are used to configure the agent. You can use the Configuration Tool again to change the configuration of your namespace by pasting the command into a command line terminal as described in [Running the Configuration Tool](/developerportal/deploy/standard-operator/#running-the-tool), above. You can also download the Configuration Tool again, if you wish.
14781490

14791491
{{% alert color="info" %}}
14801492
In case of Global Operator Managed namespace, you will see the Configuration tab instead of the Installation tab. For more information, see [Global Operator Namespace](/developerportal/deploy/global-operator/)
14811493
{{% /alert %}}
14821494

1483-
#### Additional Information
1495+
#### Additional Information {#additional-information}
14841496

14851497
This tab shows information on the versions of the various components installed in your namespace.
14861498

1487-
#### Customization
1499+
#### Customization {#customization}
14881500

14891501
This tab allows the cluster manager to customize the enablement of the secret store, developer mode for the developers, and product type for the PCLM Runtime License.
14901502

@@ -1512,7 +1524,7 @@ The selected product type will be applied to all environments within this namesp
15121524

15131525
{{< figure src="/attachments/deployment/private-cloud/private-cloud-cluster/Customization.png" class="no-border" >}}
15141526

1515-
#### PCLM Statistics
1527+
#### PCLM Statistics {#pclm-statistics}
15161528

15171529
This tab shows information about claimed licenses, operator licenses and runtime licenses.
15181530

content/en/docs/deployment/private-cloud/private-cloud-deploy.md

Lines changed: 34 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -425,17 +425,17 @@ If you have any outstanding changes to your environment the page will display a
425425

426426
The environment details page consists of seven tabs:
427427

428-
* General
429-
* Model Options
430-
* Network
431-
* Runtime
432-
* Log Levels
433-
* TLS
434-
* Debugger
428+
* [General](#general-tab)
429+
* [Model Options](#model-options-tab)
430+
* [Network](#network-tab)
431+
* [Runtime](#runtime-tab)
432+
* [Log Levels](#log-levels-tab)
433+
* [TLS](#tls-tab)
434+
* [Debugger](#debugger-tab)
435435

436436
These tabs are described below.
437437

438-
### General Tab
438+
### General Tab {#general-tab}
439439

440440
The general tab shows information about your running app.
441441

@@ -577,7 +577,7 @@ Your environment will be created as a Production environment.
577577
Your app can only be deployed to a production environment if [security in the app is set on](/refguide/app-security/). You will not receive an error if security is set off, but the deployment will appear to hang with a spinner being displayed.
578578
{{% /alert %}}
579579

580-
### Model Options Tab
580+
### Model Options Tab {#model-options-tab}
581581

582582
The **Model Options** tab allows you to change the configuration of scheduled events and constants in your app.
583583

@@ -595,7 +595,7 @@ If the MxApp constants are configured in both the CSI Secrets Storage and anothe
595595
If you change the data type and value in the .mpr file, the changes are visible in the Portal. Changes that only affect the data value without altering the data type are not visible in the Portal.
596596
{{% /alert %}}
597597

598-
### Network Tab
598+
### Network Tab {#network-tab}
599599

600600
On the Network tab, you add client certificates (in the PKCS12 format) or certificate authorities (in the PEM format) for outgoing connections. These will be used when your application initiates SSL/TLS connections. This works in the same way as the Network tab for deployments to Mendix Cloud.
601601
Starting from Mendix 10.24.1, the Mendix Runtime can set Custom Http Headers natively, without relying on an Ingress controller. For more details on these, see the [Network Tab](/developerportal/deploy/environments-details/#network-tab) section of **Environment Details**.
@@ -605,19 +605,37 @@ For security reasons, root CAs can only be enabled in custom [TLS section](/deve
605605

606606
### Runtime Tab {#runtime-tab}
607607

608-
On the Runtime tab, you can change various runtime settings for your app environment. This works in the same way as the Runtime tab for deployments to Mendix Cloud. For more details on these, see the [Runtime Tab](/developerportal/deploy/environments-details/#runtime-tab) section of *Environment Details*.
609-
610-
{{< figure src="/attachments/deployment/private-cloud/private-cloud-deploy/runtime-tab.png" class="no-border" >}}
608+
On the **Runtime** tab, you can add [Custom Runtime Settings](#custom-environment-variables) and [Custom Environment Variables](#custom-environment-variables). You can also use it to enable [leaderless mode](#leaderless-mode) for the environment.
611609

612610
{{% alert color="info" %}}
613611
When you use some settings on the Runtime tab for Mendix on Kubernetes they may work differently from how they work in Mendix Cloud.
614612
{{% /alert %}}
615613

614+
### Leaderless Mode {#leaderless-mode}
615+
616+
In leaderless mode, the leader node is selected dynamically. To enable it for your environment, set the **Enable Leaderless Mode** to **On**.
617+
618+
{{< figure src="/attachments/deployment/private-cloud/private-cloud-deploy/runtime-tab.png" class="no-border" >}}
619+
620+
### Custom Runtime Settings {#custom-runtime-settings}
621+
622+
Use the **Custom Runtime Settings** section to perform the following actions:
623+
624+
* **Add** a new runtime setting
625+
* **Edit** the runtime setting
626+
* **Delete** the runtime setting
627+
628+
For more information, see [Environment Details: Runtime Tab](/developerportal/deploy/environments-details/#runtime-tab) in the Mendix Cloud documentation.
629+
616630
{{% alert color="info" %}}
617631
If the custom runtime settings are configured in both the CSI Secrets Storage and another location (such as the Mendix Portal or MendixApp CR), the secret storage configuration has a higher priority and overrides the value specified elsewhere.
618632
{{% /alert %}}
619633

620-
### Log Levels Tab
634+
### Custom Environment Variables {#custom-environment-variables}
635+
636+
Use the **Custom Environment Variables** section to add, edit, or delete an environment variable. For more information, see [Environment Details: Runtime Tab](/developerportal/deploy/environments-details/#runtime-tab) in the Mendix Cloud documentation.
637+
638+
### Log Levels Tab {#log-levels-tab}
621639

622640
On the **Log Levels** tab, you can change the log levels which are used for the log nodes in your app.
623641

@@ -639,7 +657,7 @@ This might produce the log below for the example described above.
639657

640658
For more information, see the [Log Levels Tab](/developerportal/deploy/environments-details/#log-levels) section of *Environment Details*.
641659

642-
### TLS
660+
### TLS {#tls-tab}
643661

644662
If you are using Mendix Operator version 1.5.0 or above, you can configure TLS for your environment from the Mendix Portal.
645663

@@ -671,7 +689,7 @@ Click **Save** to confirm your new configuration.
671689

672690
You will receive a warning that you have made some changes. Click **Apply Changes** to restart the app and apply the changes.
673691

674-
### Debugger
692+
### Debugger {#debugger-tab}
675693

676694
On the Debugger tab you can set up and view the credentials you need to debug your app when it is running in your private cloud. For more information see [Debugging Microflows Remotely](/refguide/debug-microflows-remotely/#private-cloud).
677695

180 KB
Loading
-8.24 KB
Loading
135 KB
Loading

0 commit comments

Comments
 (0)