Skip to content

Create a Kubernetes Service Environment ​

The steps outlined below describe the process for creating a Kubernetes Service Environment.

ESC Portal ​

  1. Log into the Enterprise Service Cloud (ESC) Portal. Upon logging in, the ESC overview will be displayed.
  2. In the navigation panel located on the left side, the Kubernetes Service can be found under the Compute section. KS Create new KS Environment
  3. In the top right corner, click the Add Kubernetes Service button to initiate the creation process.
  4. After clicking the Add Kubernetes Service button, a detailed screen will appear for providing various pieces of information.
    InputDescription
    NameRequired
    The friendly name for this instance. This name can always be changed and is not unique.
    DescriptionOptional
    The description for this instance.
    Technical Contact EmailRequired
    The email for the technical contact for this instance that shall be contacted in case of any issues.
    Environment IsolationRequired
    Provides secure isolation of the environment from and to the outside world.
    When this option is set to Deny, clusters created in this environment are, by default, restricted from communicating with external networks and are inaccessible from the outside by default.

    The default is Allow.
    Region NameRequired
    The region for the ESC Kubernetes Service environment.

    The default is east. See Regions & Zones
    NetworksRequired
    List of networks, every location needs at least one network.

    To have an easier network setup, there are already pre-defined locations where networks can be added by clicking on the pencil button to edit the network of the specific location.

    KS Add Network

    You can also choose to specify everything yourself by clicking on the Add Network button above. A detailed input mask to add a network will be displayed.

    KS Add Network
    Provide the following inputs:
    • Name required: The name of the network
    • Location required: Select a location Olten, Zürich Herdern, Bern Zollikofen
    • Aggregate required: Select your ESC Service Network
    • Network Mask required: Select a network mask
    • Network Range required: Select a network range. The first available block will be the default selection.
    • Source NAT optional: Enable Source NAT. If selected, provide the Source NAT ESC Service Network and Network Range.
      Note: If you select a big (e.g. a /16 Service Network), the UI will experience issues. This bug is known and will be fixed soon. In the meantime, select a smaller Service Network (e.g. /24)
    Loadbalancer IP PoolRequired
    IP pool for the load balancer, at least one IP pool is required.

    KS Add Network

    • Aggregate required: Select your ESC Service Network
    • Network Mask required: Select a network mask
    • Network Range required: Select a network range. The first available block will be the default selection.
    DNS ServersRequired
    Specify at least one DNS server to be used by this ESC Kubernetes Service environment. Multiple DNS servers can be provided in a comma-separated list.

    These DNS servers are used as the upstream for name resolution across the whole environment: a resolver on the management cluster forwards to them, and all user-cluster worker nodes use that resolver. They must be reachable from the environment for its entire lifecycle — if they become unreachable, external name resolution across the environment will fail.

    See DNS for details on how DNS resolution works.

    Example: 1.1.1.1, 8.8.8.8
    Feature etcd S3 BackupOptional
    Enable or disable the etcd backup feature.

    Example configuration:
    • S3 Bucket Name: uc-etcd-bkp
    • API URL: https://ds12s3.swisscom.com
    • Access Key: AKIA9ABCDEFGHIJKLMACCESSKEYREDACT
    • Secret Key: aBcDeF1g2h3ijklmn456pexrBsecretkeyredact
    ⚠️ If the bucket doesn't already exist, it will be created automatically!
    💡 If you want immutable backups, please create and configure your bucket accordingly before ordering the Kubernetes Service environment.
    See Object Storage S3 Archive Safe documentation if using the ESC Object Storage S3 service.

⚠️ Important

The CIDRs you pick for Networks and Loadbalancer IP Pool are not allowed to overlap with the following:

  • 100.64.0.0/10
  • 138.188.150.0/24
  • 138.188.151.0/24
  • 163.168.0.0/16

These are currently reserved for Swisscom ESC internal purposes.

💡 Environment Isolation

If the field "Environment Isolation" is not visible during cluster creation, your ESC tenant is "Fully Tufin enabled" and all environments are automatically created as Deny environments.

💡 Note for Deny environments

When selecting Deny mode for Cluster Isolation, you will need to configure firewall rules after the Kubernetes Service environment has been created in order to access e.g. the KKP Dashboard or your clusters.

The following destinations and ports need to be allowed:

HostnameIPPort
<environment-ID>.private.ks.cloud.swisscom.ch(check DNS records)443
scs.<environment-ID>.private.ks.cloud.swisscom.ch(check DNS records)6443

See the documentation on DNS Records and Firewall Rules for more details. Without configuring appropriate firewall rules you will not be able to access the environment.

KKP Dashboard - Jump-off ​

A jump-off link is available in the ESC Portal, allowing direct navigation to the corresponding KKP Dashboard for seamless access.

The jump-off link is available within the KS Environment but also on the Project Details under Actions on the right side.

KS JumpOff