{{cfssl.getInstallCommand('linux-amd64')}}
This is an example workflow to install and deploy etcd.
If etcd stores information that should not be public, encryption is highly recommended. etcd supports SSL/TLS and authentication for clients-to-server and peer-to-peer communication. Here's how to generate self-signed TLS certificates with cfssl.
{{cfssl.getInstallCommand('linux-amd64')}}
{{cfssl.getInstallCommand('darwin-amd64')}}
We will use this root CA to generate other TLS assets for validating client-to-server and peer-to-peer communication. Unique certificates are less convenient to generate and deploy, but they do provide stronger security assurances and the most portable installation experience across multiple cloud-based and on-premises Kubernetes deployments.
{{cfssl.getRootCACommand()}}Results:
{{cfssl.getRootCACommandResult()}}
Seems like cert is configured for localhost. Please make sure to specify remote hosts, if any.
{{cfssl.getGenCertCommandTxt(flag.name, flag.name, flag.ipAddress, inputCFSSLMoreHostsTxt)}}
{{cfssl.getCertsPrepareCommand(flag.certsDir)}}
{{etcd.getCFSSLFilesTxt()}}
To try out the latest features and changes in etcd.
etcd is written in Go. To build from source, you need Go 1.9+. This assumes host OS is Linux.
{{go.getInstallCommand()}}
Now let's build etcd from source.
{{etcd.getInstallCommandGitSource(inputGitUser, inputGitBranch)}}
etcd writes data to disk. Such stateful application is complicated to run in container. Bare metal or virtual machine is the simplest way to run etcd.
{{etcd.getInstallCommandLinux()}}
{{etcd.getInstallCommandOSX()}}
Seems like etcd is configured to run in localhost. Please make sure ports and data directory do not conflict!
{{cfssl.getCertsPrepareCommand(flag.certsDir)}} {{flag.getDataDirPrepareCommand()}} {{etcd.getCommand(flag, false, false, false)}}
{{flag.getDataDirPrepareCommand()}} {{etcd.getCommand(flag, false, false, false)}}
{{etcd.getEndpointHealthCommand(etcd.flags[0], false)}}
systemd can help run etcd with init system.
{{etcd.getInstallCommandLinux()}}
Seems like etcd is configured to run in localhost. Please make sure ports and data directory do not conflict!
{{cfssl.getCertsPrepareCommand(flag.certsDir)}} {{flag.getDataDirPrepareCommand()}} {{etcd.getServiceFile(flag)}} {{flag.getSystemdCommand()}}
{{flag.getDataDirPrepareCommand()}} {{etcd.getServiceFile(flag)}} {{flag.getSystemdCommand()}}
{{etcd.getEndpointHealthCommand(etcd.flags[0], false)}}
Application container gives much portability to initial development phase. Here's how to run etcd with Docker.
You can run this in Container Linux by CoreOS.
Seems like etcd is configured to run in localhost. Please make sure ports and data directory do not conflict!
{{cfssl.getCertsPrepareCommand(flag.certsDir)}} {{flag.getDataDirPrepareCommand()}} {{etcd.getServiceFileDocker(flag)}} {{flag.getSystemdCommand()}}
{{flag.getDataDirPrepareCommand()}} {{etcd.getServiceFileDocker(flag)}} {{flag.getSystemdCommand()}}
{{cfssl.getCertsPrepareCommand(etcd.flags[0].certsDir)}} {{etcd.getInstallCommandLinux()}} {{etcd.getEndpointHealthCommand(etcd.flags[0], true)}}
{{etcd.getInstallCommandLinux()}} {{etcd.getEndpointHealthCommand(etcd.flags[0], true)}}
Please see Run etcd on Container Linux with systemd.