Skip to content

Instantly share code, notes, and snippets.

Dealing with Deadicated Nodepools

Let's say you have a set of disparate nodepools in a cluster:

kubectl get nodes
NAME                                 STATUS   ROLES   AGE   VERSION

Keybase proof

I hereby claim:

  • I am 4n3w on github.
  • I am 4n3w (https://keybase.io/4n3w) on keybase.
  • I have a public key ASAQ-1VDr7MgQhqcTp9WGkecSqEaj3wfAkwhwzVZgb9zfAo

To claim this, I am signing this object:

@4n3w
4n3w / bumpme
Last active May 21, 2019 18:00
Tue May 21 18:00:04 UTC 2019
image: dockerfile/ruby
script:
- bundle install
- bundle exec rspec
notify:
email:
recipients:
- andrew@factore.ca
@4n3w
4n3w / Dockerfile
Created June 13, 2014 15:03
Example Dockerfile for rails
FROM ubuntu
MAINTAINER Andrew Wood <andrew.d.wood@gmail.com>
RUN apt-get update -q
RUN apt-get install -qy git curl build-essential libssl-dev sqlite3 libsqlite3-dev nodejs
RUN git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
RUN git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
RUN echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
RUN echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
RUN /bin/bash -c -l 'rbenv install 2.1.0'
@4n3w
4n3w / example-pom.xml
Last active October 8, 2015 17:38
Markdown Papers / Site Plugin Configuration
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0</version>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>site</goal>
</goals>
@4n3w
4n3w / example-pom.xml
Last active November 21, 2019 19:24
Configuration for the maven-replacer-plugin on two separate executions
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>maven-replacer-plugin</artifactId>
<version>1.3.5</version>
<executions>
<execution>
<id>replace-for-documentation</id>
<phase>prepare-package</phase>
<goals>
<goal>replace</goal>