Seamless Kubernetes Pod Mobility via Moving Target Defense

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current container management systems, particularly Kubernetes, lack effective mechanisms for live migration of large numbers of containers and their associated storage, which is crucial for dynamic security and scalability, as existing methods like snapshot-based approaches are not scalable to handle large workloads.

Innovation Solution

The integration of a Resource Management System (RMS) and Moving Target Defense (MTD) systems enables seamless mobility of stateful containers and their storage, allowing for live migration of containers and scaling to high numbers by periodically creating new containers from a secure golden copy and dynamically changing their IP addresses and identifiers, thereby enhancing security and scalability.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If snapshot-based methods are used for container migration, then live migration of containers is enabled, but the method does not scale to large workloads

Engineering Contradiction:
Improvecontainer migration capabilityVSAvoidscalability to large workloads
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The system segments the large workload into multiple container groups, each managed independently with its own persistent volume claims. This allows parallel migration of container groups, enabling scalability to large workloads by dividing the migration task into manageable segments that can be processed concurrently

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary actions by pre-configuring persistent volume claims and storage resources before container migration. This includes setting up the storage infrastructure, configuring volume attachments, and preparing the target environment in advance, which enables seamless live migration without disruption to the applications

Inventive Principle:
Principle #10Preliminary action

2Device complexity

If static configuration is used in container management systems, then system simplicity is maintained, but security vulnerabilities increase

Engineering Contradiction:
Improvesystem configuration simplicityVSAvoidsecurity against malicious attack
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The system implements dynamic configuration where container IP addresses, identifiers, and storage attachments are continuously changed during operation. The persistent volume claims are dynamically reconfigured to attach to different storage resources, creating a moving target that prevents attackers from exploiting static system configurations while maintaining operational simplicity through automated management

Inventive Principle:
Principle #15Dynamics

3Productivity

If live migration of storage systems is implemented, then container mobility is improved, but existing VM-based methods are not adequate for container systems

Engineering Contradiction:
Improvecontainer mobilityVSAvoidcompatibility with container architecture
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The system uses persistent volume claims that can be copied and attached to different compute resources. Instead of migrating the entire storage system like VM-based methods, the patent creates copyable volume claims that can be independently attached to any container, enabling container-specific mobility that is natively compatible with the container architecture while maintaining storage integrity

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The persistent volume claim mechanism serves multiple functions: it provides storage attachment, enables live migration, supports scalability to large workloads, and works across different container orchestration platforms. This universal approach replaces VM-specific storage migration methods with a container-agnostic solution that maintains compatibility with container architecture

Inventive Principle:
Principle #6Universality (Multi-functionality)

4Ease of operation

If container identifiers and IP addresses remain static, then system operation is simplified, but the attack surface becomes predictable

Engineering Contradiction:
Improvesystem operation simplicityVSAvoidpredictability of attack surface
Core Design Contradiction:
Ease of operationVSObject-affected harmful factors

Solution Approach 1:

The system implements periodic changes to container identifiers and IP addresses through renewed persistent volume claim attachments at scheduled intervals. This periodic reconfiguration creates a moving target defense that prevents attackers from maintaining persistent access to static system configurations, while the automated nature of the process maintains operational simplicity without requiring manual intervention

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS10860444B2Seamless mobility for kubernetes based stateful pods using moving target defense
Publication Date: 2020.12.08 EMC IP HLDG CO LLC
  • US10860444B2 patent drawing
  • US10860444B2 patent drawing
  • US10860444B2 patent drawing

AI summary

Providing seamless mobility of stateful pods in a container management system, by: receiving an indication that a pod needs to be moved from a first site to a replica site, identifying, through a moving target defense (MTD) process, all persistent volumes attached to the pod; determining if an RPO/RTO objective for the movement is below a threshold value, draining all local I/O operations to a container having the persistent volumes attached; killing containers of the pod using the persistent volumes after the draining, waiting for data to be flushed to the replica site, initiating a failover of a first storage of the first site, and restarting a container to run on the replica site attached to replica storage. In this process, a resource management system (RMS) is used to provide an address of a secure golden copy of the container as the address of the replica site.