Skip to content

Releases: mesoform/pulumi-swarm-deployment

Swarm instances memory update

30 Oct 16:04
67ff116
Compare
Choose a tag to compare

Fix

Updates swarm.py to add command to increase max virtual memory area on swarm instances to avoid elastic memory issues.

Secret management improvement

29 Sep 13:42
5b9c14d
Compare
Choose a tag to compare

New Features

  • Adds generate_ssh_key configuration value to make generation of the deployer ssh key optional
  • Add docker_token_secret_user_managed configuration to allow docker join token secret to be user managed and uses the location specified in the region attribute.

Changes

  • Includes the current IP in the firewall rule allow list by default ( to prevent all source IPs from being allowed)
  • Update SwarmDeploymentGCPArgs class so that attributes with default values are optional, only name and docker_token_secret_name are required

Fixes

  • Update swarm_setup script which is used in the compute instance startup script so that it checks if a secret exists. If it does exist it runs gcloud secrets versions add, and if it doesn't exist it will run gcloud secrets create. Beforehand it only added a version, so if the secret didn't exist all the nodes wouldn't join the cluster

Fix default service account retrieval

21 Sep 15:23
c8384e0
Compare
Choose a tag to compare

Fixes issue where the default compute service account is retrieved even if compute_sa is set, which caused issues when the deploying account does not have permissions to view service accounts. The compute default service account email is now only retrieved if compute_sa is not set

Initial Release

04 Sep 08:25
792d305
Compare
Choose a tag to compare

Initial release of Pulumi module which can create Google compute instances and the required network infrastructure and initialises a swarm cluster.