kubernetes VS Packer

Compare kubernetes vs Packer and see what are their differences.

kubernetes

Production-Grade Container Scheduling and Management (by kubernetes)

Packer

Packer is a tool for creating identical machine images for multiple platforms from a single source configuration. (by hashicorp)
Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
kubernetes Packer
493 57
95,367 14,186
1.3% 0.7%
10.0 9.6
4 days ago 4 days ago
Go Go
Apache License 2.0 Mozilla Public License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

kubernetes

Posts with mentions or reviews of kubernetes. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-29.

Packer

Posts with mentions or reviews of Packer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-08.
  • Virtualbox 7.0.4 kickstart issue
    5 projects | dev.to | 8 Dec 2022
    However, I was unable to build the boxes with packer for some reason. It turned out that this wasn't an easy to fix or obvious issue. In fact, I had to search quite hard to find an answer. I am pretty sure my friend Tim Hall (oracle-base) ran into this issue too. Finally, I found a description of the issue on packer GitHub: Packer 1.8.4 not working with Virtualbox 7.0.4+ #12118.
    5 projects | dev.to | 8 Dec 2022
    I was building a new version of YugabyteDB vagrant box with packer and virtual box. Because we (Yugabyte) have a new preview release out.
  • Is "development environment as code" a thing?
    5 projects | reddit.com/r/DevelEire | 28 Nov 2022
    Packer. https://github.com/hashicorp/packer
  • Dinamic Infrastructure
    2 projects | reddit.com/r/devops | 27 Nov 2022
    For an AMI build pipeline, have a look at Hashicorp Packer and Ansible if a host is long lived
  • A practical approach to structuring Golang applications
    10 projects | dev.to | 3 Oct 2022
  • what am I able to do with a Intel Core i2???
    6 projects | reddit.com/r/homelab | 26 Aug 2022
    Heh, I've been messing more with Nomad & Packer than k8s for my own stuff, I'll say guilty for Ansible though it's useful on its own and with Packer.
  • You Don't Need Microservices
    2 projects | news.ycombinator.com | 27 Jul 2022
    Sounds reasonable. Personally, I just try to stay away from k8s until it becomes a requirement. Until then simplest tools are often a good choice for building systems that require less maintenance. That's a per-project decision though.

    You do not need Ansible for VMs provisioning - you can bake a VM image that will pull repos and do other preparation stuff. HashiCorp Packer[1] is an good tool for this imo. This applies to bare metal, too, as you can bake ISO or IMG the same way. Stuff that differentiate those systems can be set up with cloud-init or something similar.

    Regarding Ansible, it didn't changed much over the years. At least nothing really major like statefulness.

    [1] https://www.packer.io/

  • Installing Fedora Minimal instead of Fedora Workstation on daily driver laptop (?)
    3 projects | reddit.com/r/Fedora | 22 Jun 2022
    Oooh, maybe I'll try it with packer or Foreman (or MaaS, I'm actually setting up MaaS atm...)
  • Interaction between Docker, AMI and Ansible
    3 projects | reddit.com/r/devops | 31 May 2022
    An AMI (Amazon Machine Image) contains the OS used by an EC2 instance. Normally you'd use a tool such as [Packer](https://www.packer.io/) to build the image. Ansible can be used as a [provisioner](https://www.packer.io/plugins/provisioners/ansible/ansible) for Packer. I usually just use bash scripts.
  • Advice for a Devops Engineer Fresher
    3 projects | reddit.com/r/devops | 7 Apr 2022
    Note: Some might argue that learning something like Puppet or Ansible is needed. However, the way the cloud works nowadays and with virtualization and orchestration (Kubernetes) both of these technologies (Puppet/Ansible) are losing their relevance/usage. Not to mention both of these are fairly convoluted tools with really pedantic naming and folder structures that over-complicates most processes needlessly. I would 100% recommend learning Terraform and something like Packer if you need to generate machine/VM images. You _could_ feed Ansible into packer if you so-desired, but I think this is silly when a simple shell script would do the trick. Ansible and Puppet are more-ideal for static infrastructure, not in a ephemeral world of Kubernetes.

What are some alternatives?

When comparing kubernetes and Packer you can also consider the following projects:

Apache ZooKeeper - Apache ZooKeeper

Rundeck - Enable Self-Service Operations: Give specific users access to your existing tools, services, and scripts

bosun - Time Series Alerting Framework

kine - Run Kubernetes on MySQL, Postgres, sqlite, dqlite, not etcd.

Vagrant - Vagrant is a tool for building and distributing development environments.

BOSH - Cloud Foundry BOSH is an open source tool chain for release engineering, deployment and lifecycle management of large scale distributed services.

Nomad - Nomad is an easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations.

Juju - Universal Operator Lifecycle Manager (OLM) for Kubernetes operators, and operators for traditional Linux apps, with declarative integration between operators for automated microservice integration.

oVirt - oVirt website

SaltStack - Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:

consul - Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.

gaia - Build powerful pipelines in any programming language.