etcd (Install)

This is not the latest version of etcd (Install) available.

  • 1
  • 2
  • 3

3.3.0 | Updated: 06 Feb 2018

Downloads:

20,272

Downloads of v 3.3.0:

403

Software Author(s):

  • CoreOS

  • 1
  • 2
  • 3
etcd (Install) 3.3.0

This is not the latest version of etcd (Install) available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

Details

Deployment Method: Individual Install, Upgrade, & Uninstall

To install etcd (Install), run the following command from the command line or from PowerShell:

>

To upgrade etcd (Install), run the following command from the command line or from PowerShell:

>

To uninstall etcd (Install), run the following command from the command line or from PowerShell:

>

Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade etcd -y --source="'INTERNAL REPO URL'" --version="'3.3.0'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade etcd -y --source="'INTERNAL REPO URL'" --version="'3.3.0'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install etcd
  win_chocolatey:
    name: etcd
    version: '3.3.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'etcd' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '3.3.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller etcd
{
    Name     = "etcd"
    Version  = "3.3.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'etcd':
  ensure   => '3.3.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 18 May 2018.

Description

etcd is a distributed, consistent key-value store for shared configuration and service discovery, with a focus on being:

* Simple: curl'able user facing API (HTTP+JSON)
* Secure: optional SSL client cert authentication
* Fast: benchmarked 1000s of writes/s per instance
* Reliable: properly distributed using Raft

etcd is written in Go and uses the Raft consensus algorithm to manage a highly-available replicated log.
This package installs etcd as a service, and makes etcdctl.exe available in the path.

The package will pass package parameters to the etcd service.
Example: choco install etcd -y --params="-discovery https://discovery.etcd.io/tokengoeshere"

The service is managed with NSSM, you can change the service parameters easily by running nssm edit etcd

Originally packaged by Robert Labrie (https://github.com/tnwinc/chocolatey-etcd)


tools\chocolateyBeforeModify.ps1

# remove the service if it exists
if ((Get-Service | Where-Object { $_.Name -eq "etcd" }).length) {
    Get-Service etcd | Stop-Service
    &nssm remove etcd confirm
}
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop';

$packageName    = 'etcd'
$packageVersion = '3.3.0'
$url64          = 'https://github.com/coreos/etcd/releases/download/v3.3.0/etcd-v3.3.0-windows-amd64.zip'
$checksum64     = '250d0f19223f0efe4b481d6ffd0170a838731324d6533d46df25e30bc04f2d87'
$checksumType64 = 'sha256'

$validExitCodes = @(0) #please insert other valid exit codes here, exit codes for ms http://msdn.microsoft.com/en-us/library/aa368542(VS.85).aspx
$toolsDir       = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$installDir     = "C:\ProgramData\etcd"


Install-ChocolateyZipPackage -PackageName "$packageName" -UnzipLocation "$installDir" -Url64 "$url64" -Checksum64 "$checksum64" -ChecksumType64 "$checksumType64"

# check OS bitness
if (!([Environment]::Is64BitOperatingSystem)) {
	Write-Error "etcd requires 64bit operating system"
	exit
}

Copy-Item "C:\ProgramData\etcd\etcd-v$packageVersion-windows-amd64\*" C:\ProgramData\etcd -Recurse -Force
Remove-Item "C:\ProgramData\etcd\etcd-v$packageVersion-windows-amd64" -Recurse -Force

# older versions of etcd didn't put EXE on the binary
if (Test-Path C:\ProgramData\etcd\etcd) {
    copy-item C:\ProgramData\etcd\etcd C:\ProgramData\etcd\etcd.exe -force
    remove-item C:\ProgramData\etcd\etcd
}
if (Test-Path C:\ProgramData\etcd\etcdctl) {
    copy-item C:\ProgramData\etcd\etcdctl C:\ProgramData\etcd\etcdctl.exe -force
    remove-item C:\ProgramData\etcd\etcdctl
}

Copy-Item C:\ProgramData\etcd\etcdctl.exe $toolsDir -Force
&nssm install etcd C:\ProgramData\etcd\etcd.exe "$($env:chocolateyPackageParameters)"
&nssm set etcd Start SERVICE_AUTO_START
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop';

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

Remove-Item C:\ProgramData\etcd -Recurse -Force
Remove-Item "$toolsDir\etcdctl.exe"

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
etcd (Install) 3.5.0 158 Wednesday, June 16, 2021 Approved
etcd (Install) 3.5.0-rc1 26 Thursday, June 10, 2021 Approved
etcd (Install) 3.5.0-rc0 27 Friday, June 4, 2021 Approved
etcd (Install) 3.5.0-beta4 22 Wednesday, May 26, 2021 Approved
etcd (Install) 3.5.0-beta3 23 Tuesday, May 18, 2021 Approved
etcd (Install) 3.5.0-beta1 16 Tuesday, May 18, 2021 Approved
etcd (Install) 3.5.0-alpha0 49 Thursday, February 25, 2021 Approved
etcd (Install) 3.4.18 18 Friday, October 15, 2021 Approved
etcd (Install) 3.4.17 15 Monday, October 4, 2021 Approved
Discussion for the etcd (Install) Package

Ground Rules:

  • This discussion is only about etcd (Install) and the etcd (Install) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or etcd (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus