Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

etcd (Install)

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

  • 1
  • 2
  • 3

3.1.1 | Updated: 21 Feb 2017

Downloads:

33,782

Downloads of v 3.1.1:

414

Software Author(s):

  • CoreOS

etcd (Install) 3.1.1

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

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by CoreOS. The inclusion of CoreOS trademark(s), if any, upon this webpage is solely to identify CoreOS goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

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.1.1'" [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.1.1'" 
$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.1.1'
    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.1.1'
end

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


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

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


package { 'etcd':
  ensure   => '3.1.1',
  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.

NOTE

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

Package Approved

This package was approved as a trusted package on 21 Feb 2017.

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.1.1'
$url64          = 'https://github.com/coreos/etcd/releases/download/v3.1.1/etcd-v3.1.1-windows-amd64.zip'
$checksum64     = 'a585b31367d57390fefd0e6cb6d50b14e3716efd3d30689f5061ff9a779f00a5'
$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.6.0-alpha0 255 Monday, February 28, 2022 Approved
etcd (Install) 3.5.16 61 Wednesday, September 11, 2024 Approved
etcd (Install) 3.5.15 60 Saturday, July 20, 2024 Approved
etcd (Install) 3.5.14 63 Thursday, May 30, 2024 Approved
etcd (Install) 3.5.13 77 Saturday, March 30, 2024 Approved
etcd (Install) 3.5.12 85 Wednesday, January 31, 2024 Approved
etcd (Install) 3.5.11 70 Thursday, December 7, 2023 Approved
etcd (Install) 3.5.10 90 Friday, October 27, 2023 Approved
etcd (Install) 3.5.9 201 Thursday, May 11, 2023 Approved
etcd (Install) 3.5.8 114 Thursday, April 13, 2023 Approved
etcd (Install) 3.5.7 148 Friday, January 20, 2023 Approved
etcd (Install) 3.5.6 93 Friday, December 16, 2022 Approved
etcd (Install) 3.5.5 175 Thursday, September 15, 2022 Approved
etcd (Install) 3.5.4 174 Sunday, April 24, 2022 Approved
etcd (Install) 3.5.3 102 Thursday, April 14, 2022 Approved
etcd (Install) 3.5.2 160 Tuesday, February 1, 2022 Approved
etcd (Install) 3.5.1 322 Friday, October 15, 2021 Approved
etcd (Install) 3.5.0 249 Wednesday, June 16, 2021 Approved
etcd (Install) 3.5.0-rc1 118 Thursday, June 10, 2021 Approved
etcd (Install) 3.5.0-rc0 134 Friday, June 4, 2021 Approved
etcd (Install) 3.5.0-beta4 109 Wednesday, May 26, 2021 Approved
etcd (Install) 3.5.0-beta3 102 Tuesday, May 18, 2021 Approved
etcd (Install) 3.5.0-beta1 107 Tuesday, May 18, 2021 Approved
etcd (Install) 3.5.0-alpha0 133 Thursday, February 25, 2021 Approved
etcd (Install) 3.4.35 8 Tuesday, November 12, 2024 Approved
etcd (Install) 3.4.34 19 Thursday, September 12, 2024 Approved
etcd (Install) 3.4.33 23 Thursday, June 13, 2024 Approved
etcd (Install) 3.4.32 37 Friday, April 26, 2024 Approved
etcd (Install) 3.4.31 36 Wednesday, March 20, 2024 Approved
etcd (Install) 3.4.30 39 Wednesday, January 31, 2024 Approved
etcd (Install) 3.4.29 38 Tuesday, January 9, 2024 Approved
etcd (Install) 3.4.28 41 Thursday, November 23, 2023 Approved
etcd (Install) 3.4.27 61 Tuesday, July 11, 2023 Approved
etcd (Install) 3.4.26 52 Friday, May 12, 2023 Approved
etcd (Install) 3.4.25 52 Friday, April 14, 2023 Approved
etcd (Install) 3.4.24 75 Thursday, February 16, 2023 Approved
etcd (Install) 3.4.23 63 Wednesday, December 21, 2022 Approved
etcd (Install) 3.4.22 63 Friday, December 16, 2022 Approved
etcd (Install) 3.4.21 72 Thursday, September 15, 2022 Approved
etcd (Install) 3.4.20 89 Saturday, August 6, 2022 Approved
etcd (Install) 3.4.19 76 Tuesday, July 12, 2022 Approved
etcd (Install) 3.4.18 89 Friday, October 15, 2021 Approved
etcd (Install) 3.4.17 92 Monday, October 4, 2021 Approved
etcd (Install) 3.4.16 155 Wednesday, May 12, 2021 Approved
etcd (Install) 3.4.15 176 Saturday, February 27, 2021 Approved
etcd (Install) 3.4.14 244 Thursday, November 26, 2020 Approved
etcd (Install) 3.4.12 275 Wednesday, August 19, 2020 Approved
etcd (Install) 3.4.11 188 Wednesday, August 19, 2020 Approved
etcd (Install) 3.4.10 224 Friday, July 17, 2020 Approved
etcd (Install) 3.4.9 324 Friday, May 22, 2020 Approved
etcd (Install) 3.4.8 193 Tuesday, May 19, 2020 Approved
etcd (Install) 3.4.7 299 Thursday, April 2, 2020 Approved
etcd (Install) 3.4.6 235 Monday, March 30, 2020 Approved
etcd (Install) 3.4.5 279 Thursday, March 19, 2020 Approved
etcd (Install) 3.4.4 237 Tuesday, February 25, 2020 Approved
etcd (Install) 3.4.3 389 Wednesday, October 23, 2019 Approved
etcd (Install) 3.4.2 260 Friday, October 11, 2019 Approved
etcd (Install) 3.4.1 221 Wednesday, September 18, 2019 Approved
etcd (Install) 3.4.0 341 Friday, August 30, 2019 Approved
etcd (Install) 3.3.27 113 Friday, October 15, 2021 Approved
etcd (Install) 3.3.26 96 Monday, October 4, 2021 Approved
etcd (Install) 3.3.24 160 Wednesday, August 19, 2020 Approved
etcd (Install) 3.3.23 145 Friday, July 17, 2020 Approved
etcd (Install) 3.3.22 220 Friday, May 22, 2020 Approved
etcd (Install) 3.3.21 198 Tuesday, May 19, 2020 Approved
etcd (Install) 3.3.20 212 Thursday, April 2, 2020 Approved
etcd (Install) 3.3.19 220 Thursday, March 19, 2020 Approved
etcd (Install) 3.3.18 255 Wednesday, November 27, 2019 Approved
etcd (Install) 3.3.17 241 Friday, October 11, 2019 Approved
etcd (Install) 3.3.15 998 Friday, August 30, 2019 Approved
etcd (Install) 3.3.13 382 Friday, May 3, 2019 Approved
etcd (Install) 3.3.12 369 Friday, February 8, 2019 Approved
etcd (Install) 3.3.11 338 Saturday, January 12, 2019 Approved
etcd (Install) 3.3.10 282 Saturday, January 5, 2019 Approved
etcd (Install) 3.3.8 445 Friday, June 15, 2018 Approved
etcd (Install) 3.3.0 508 Tuesday, February 6, 2018 Approved
etcd (Install) 3.2.32 110 Monday, March 29, 2021 Approved
etcd (Install) 3.2.31 156 Tuesday, August 18, 2020 Approved
etcd (Install) 3.2.30 203 Thursday, April 2, 2020 Approved
etcd (Install) 3.2.29 239 Thursday, March 19, 2020 Approved
etcd (Install) 3.2.28 237 Monday, November 11, 2019 Approved
etcd (Install) 3.2.27 247 Wednesday, September 18, 2019 Approved
etcd (Install) 3.2.26 301 Saturday, January 12, 2019 Approved
etcd (Install) 3.2.25 296 Saturday, January 5, 2019 Approved
etcd (Install) 3.2.24 379 Wednesday, July 25, 2018 Approved
etcd (Install) 3.2.22 423 Wednesday, June 6, 2018 Approved
etcd (Install) 3.2.19 378 Wednesday, April 25, 2018 Approved
etcd (Install) 3.2.18 450 Thursday, March 29, 2018 Approved
etcd (Install) 3.2.17 355 Thursday, March 15, 2018 Approved
etcd (Install) 3.2.15 382 Thursday, February 1, 2018 Approved
etcd (Install) 3.2.14 394 Friday, January 12, 2018 Approved
etcd (Install) 3.2.13 374 Monday, January 8, 2018 Approved
etcd (Install) 3.2.12 427 Thursday, December 21, 2017 Approved
etcd (Install) 3.2.11 471 Wednesday, December 6, 2017 Approved
etcd (Install) 3.2.10 423 Friday, November 17, 2017 Approved
etcd (Install) 3.2.9 430 Monday, October 9, 2017 Approved
etcd (Install) 3.2.8 413 Monday, October 2, 2017 Approved
etcd (Install) 3.2.7 439 Tuesday, September 5, 2017 Approved
etcd (Install) 3.2.6 420 Wednesday, August 23, 2017 Approved
etcd (Install) 3.2.5 398 Wednesday, August 9, 2017 Approved
etcd (Install) 3.2.4 467 Thursday, July 20, 2017 Approved
etcd (Install) 3.2.3 401 Monday, July 17, 2017 Approved
etcd (Install) 3.2.2 376 Tuesday, July 11, 2017 Approved
etcd (Install) 3.2.1 421 Monday, June 26, 2017 Approved
etcd (Install) 3.1.20 294 Saturday, January 5, 2019 Approved
etcd (Install) 3.1.19 327 Tuesday, July 24, 2018 Approved
etcd (Install) 3.1.16 311 Friday, June 1, 2018 Approved
etcd (Install) 3.1.15 349 Wednesday, May 9, 2018 Approved
etcd (Install) 3.1.11 409 Wednesday, November 29, 2017 Approved
etcd (Install) 3.1.10 413 Wednesday, August 23, 2017 Approved
etcd (Install) 3.1.9 445 Monday, June 12, 2017 Approved
etcd (Install) 3.1.8 443 Monday, May 22, 2017 Approved
etcd (Install) 3.1.7 454 Tuesday, May 2, 2017 Approved
etcd (Install) 3.1.6 422 Thursday, April 20, 2017 Approved
etcd (Install) 3.1.5 446 Tuesday, March 28, 2017 Approved
etcd (Install) 3.1.4 401 Thursday, March 23, 2017 Approved
etcd (Install) 3.1.3 426 Monday, March 13, 2017 Approved
etcd (Install) 3.1.2 426 Monday, February 27, 2017 Approved
etcd (Install) 3.1.1 414 Tuesday, February 21, 2017 Approved
etcd (Install) 3.1.0 426 Monday, January 30, 2017 Approved
etcd (Install) 3.0.17 421 Monday, February 27, 2017 Approved
etcd (Install) 3.0.16 457 Monday, January 16, 2017 Approved
etcd (Install) 3.0.15 424 Friday, January 13, 2017 Approved
etcd (Install) 2.3.8 425 Monday, February 27, 2017 Approved
etcd (Install) 2.2.2 643 Wednesday, December 2, 2015 Approved
etcd (Install) 2.1.2 520 Sunday, August 23, 2015 Approved
etcd (Install) 2.1.1 419 Wednesday, July 22, 2015 Approved
etcd (Install) 2.0.13 475 Wednesday, July 22, 2015 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