Adventures with Nexus in Kubernetes: database corruption and storage management

Adventures with Nexus in Kubernetes: database corruption and storage management

Kids, when they teach you not to run databases in Kubernetes, please pay attention! I wish I followed this advice before rolling out a Sonatype Nexus artifact repository in Kubernetes. Here are some of the lessons I learned maintaining this installation, and dealing with disk space problems and database corruption issues.

Kids, when they teach you not to run databases in Kubernetes, please pay attention! I wish I followed this advice before rolling out a Sonatype Nexus artifact repository in Kubernetes. Here are some of the lessons I learned maintaining this installation, and dealing with disk space problems and database corruption issues.

I installed Nexus in a Kubernetes 1.18 TKGI cluster using the nexus-repository-manager Helm chart from artifacthub.io. The initial values I used for the persistence section in values.yaml for that chart were:

At the time when I installed the chart, I was using helm version 2. I called the chart nexus and installed it in the default namespace.

The Helm chart created a PVC named nexus-nexus-repository-manager-data mounted by the nexus pod as /nexus-data . The PVC can be inspected by running:

ebs-snapshots kubernetes aws nexus ebs-volume

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

50+ Useful Kubernetes Tools for 2020 - Part 2

Our original Kubernetes tool list was so popular that we've curated another great list of tools to help you improve your functionality with the platform.

AWS Fargate for Amazon Elastic Kubernetes Service | Caylent

Easily run Kubernetes-based applications on AWS by leveraging AWS Fargate and Amazon Elastic Kubernetes Service together. Learn more here.

Kubernetes 1.17 Feature: Kubernetes Volume Snapshot Moves to Beta

The Kubernetes Volume Snapshot feature is now beta in Kubernetes v1.17. It was introduced as alpha in Kubernetes v1.12, with a second alpha with breaking changes in Kubernetes v1.13. This post summarizes the changes in the beta release. What is a Volume Snapshot? Many storage systems (like Google Cloud Persistent Disks, Amazon Elastic Block Storage, and many on-premise storage systems) provide the ability to create a “snapshot” of a persistent volume.

Kubernetes on AWS - Kubernetes AWS Tutorial

Kubernetes on AWS - Kubernetes AWS Tutorial will help you understand how to deploy a containerized application onto a Kubernetes cluster managed by Amazon Elastic Container Service for Kubernetes (Amazon EKS).

How to Use AWS IAM Role on AWS EKS PODs

Using a native-AWS way to use an AWS IAM Role in an EKS POD, without using third-party software. Reducing the latency, and improving your EKS security. Build, Deploy, and Manage Websites, Apps or Processes On AWS' Secure, Reliable Network. Sign Up for a Free Account & Experience AWS' Secure, Reliable, Scalable...