New answers tagged

0

here is a complete example: resource "aws_key_pair" "my_key" { key_name = "my_key" public_key = file(pathexpand("~/.ssh/id_rsa.pub")) } resource "aws_instance" "example" { ami = my_ami instance_type = "t2.micro" key_name = aws_key_pair.my_key.key_name ebs_block_device { ...


-1

Take a look at this Jenkins Plugin: https://plugins.jenkins.io/slave-status/ It'll expose a healthcheck endpoint + other information like memory on port 3141 (you can configure a custom port). You can then ping that healthcheck endpoint and send the data to CloudWatch.


0

Terraform Provisioners are a last resort, so I'd encourage you to think about other options first. In this case, your example suggests that you're already using cloud-init and so if at all possible I'd suggest modifying that cloud-init configuration to include a request to install the package you want to install. If you are using the cloud-config YAML format ...


0

Yes, you can. Use Storage Gateway service. It will give you a NFS endpoint. Mount that using kubernetes volumn. It is possible. I have already achieved this.


0

Yes , you can ( and in swarm mode you should ) rexray example s3vol example in fact with volume plugins you may attach many things also for registry


Top 50 recent answers are included