Get in Touch

Course Outline

Day 1 – Containers and Image Management

Introduction to Container Platforms

  • Comparison of traditional application deployment with container-based deployment
  • Differences between containers and virtual machines
  • Container runtimes and container engines
  • The role of Docker, Kubernetes, and OpenShift
  • Common container platform architectures
  • Workflows for development, testing, and production

Working with Containers

  • Running and managing containers
  • The container lifecycle
  • Starting, stopping, and removing containers
  • Executing commands inside containers
  • Environment variables
  • Port mapping
  • Managing container logs
  • Inspecting resource usage and processes

Building Container Images

  • Understanding image structure and layers
  • Creating Dockerfiles and Containerfiles
  • Selecting appropriate base images
  • Incorporating application dependencies
  • Configuring entry points and commands
  • Leveraging image caching
  • Strategies for reducing image size
  • Ensuring reproducible image builds

Container Registries

  • Differences between public and private registries
  • Tagging and versioning images
  • Pushing and pulling images
  • Image authentication mechanisms
  • Image retention policies and cleanup procedures
  • Basic considerations for image security

Container Networking and Storage

  • Concepts of container networking
  • Bridge networking configuration
  • Exposing ports
  • Facilitating container-to-container communication
  • Using bind mounts and volumes
  • Managing persistent container data
  • Key considerations for backups

Hands-on Exercises

  • Running and inspecting containers
  • Building an application image
  • Configuring ports and environment variables
  • Publishing an image to a registry
  • Storing persistent data outside of a container

Day 2 – Kubernetes Architecture and Workloads

Kubernetes Fundamentals

  • The purpose of container orchestration
  • Kubernetes architecture overview
  • Control plane components
  • Worker nodes
  • The API server
  • The scheduler
  • Controllers
  • Understanding cluster state versus desired state
  • Interacting with the cluster using kubectl

Kubernetes Resources

  • Pods
  • ReplicaSets
  • Deployments
  • Namespaces
  • Labels and annotations
  • Selectors
  • Declarative resource definitions
  • YAML manifests

Deploying Applications

  • Creating and managing Deployments
  • Scaling workloads
  • Updating container images
  • Implementing rolling updates
  • Performing rollbacks
  • Reviewing deployment history
  • Restarting workloads
  • Managing application replicas

Application Configuration

  • Using ConfigMaps
  • Handling Secrets
  • Setting environment variables
  • Utilizing configuration files
  • Separating application code from configuration data
  • Managing settings specific to different environments

Resource Management

  • Defining CPU and memory requests
  • Setting CPU and memory limits
  • Implementing resource quotas
  • Configuring limit ranges
  • Understanding scheduling implications
  • Diagnosing failures related to resources

Hands-on Exercises

  • Deploying a containerized application
  • Creating and updating Kubernetes manifests
  • Scaling an application
  • Performing a rolling update and subsequent rollback
  • Configuring the application using ConfigMaps and Secrets
  • Applying resource requests and limits

Day 3 – Kubernetes Networking, Storage, and Security

Kubernetes Networking

  • Cluster networking model overview
  • Pod-to-pod communication methods
  • Service discovery mechanisms
  • DNS resolution within the cluster
  • ClusterIP services
  • NodePort services
  • LoadBalancer services
  • Ingress concepts
  • Patterns for exposing applications

Network Policies

  • Controlling traffic flow between workloads
  • Defining ingress and egress rules
  • Implementing namespace-based traffic control
  • Testing network connectivity
  • Troubleshooting service communication issues

Persistent Storage

  • Distinctions between ephemeral and persistent storage
  • Volumes overview
  • PersistentVolumes (PVs)
  • PersistentVolumeClaims (PVCs)
  • StorageClasses
  • Dynamic provisioning processes
  • Access modes for storage
  • Reclaim policies
  • Storing data for stateful applications

Kubernetes Access Control

  • Concepts of authentication and authorization
  • Role-Based Access Control (RBAC)
  • Roles and ClusterRoles
  • RoleBindings and ClusterRoleBindings
  • Service accounts
  • Adhering to least-privilege access principles
  • Inspecting effective permissions

Workload Security

  • Configuring security contexts
  • Running containers as non-root users
  • Managing Linux capabilities
  • Implementing read-only filesystems
  • Best practices for secret handling
  • Verifying image provenance
  • Awareness of common configuration risks

Hands-on Exercises

  • Exposing an application using Kubernetes services
  • Configuring ingress rules
  • Restricting traffic via a network policy
  • Provisioning persistent storage
  • Configuring RBAC permissions
  • Running a workload with an appropriate security context

Day 4 – Working with OpenShift Environments

Introduction to OpenShift

  • OpenShift as a Kubernetes-based application platform
  • Kubernetes resources within an OpenShift environment
  • OpenShift cluster architecture
  • Differences between Projects and namespaces
  • Platform users and service accounts
  • Navigating the web console
  • Utilizing the OpenShift CLI

Managing Projects and Access

  • Creating and managing projects
  • Assigning user permissions
  • Project-level roles
  • Gaining administrative access
  • Implementing resource quotas
  • Setting limit ranges
  • Working with service accounts
  • Reviewing project resources

Deploying Applications

  • Deploying container images
  • Creating application workloads
  • Managing deployments
  • Scaling applications
  • Updating application versions
  • Performing rollbacks
  • Managing application configuration
  • Working with secrets

Application Exposure

  • Using Services in OpenShift
  • Configuring Routes
  • TLS concepts
  • Differentiating internal and external application access
  • Managing hostnames and certificates
  • Troubleshooting route and service issues

Storage in OpenShift

  • Persistent Volume Claims (PVCs)
  • StorageClasses
  • Attaching storage to workloads
  • Managing stateful workloads
  • Configuring storage access permissions
  • Troubleshooting volume mounting issues

Scheduling and Node Management

  • Using labels and selectors
  • Applying node selectors
  • Understanding taints and tolerations
  • Affinity and anti-affinity concepts
  • Strategies for workload placement
  • Cordoning and draining nodes
  • Considerations for node maintenance

Hands-on Exercises

  • Accessing an OpenShift environment
  • Creating and configuring a project
  • Deploying and exposing an application
  • Configuring user and service-account access
  • Attaching persistent storage
  • Scaling and updating a running workload

Day 5 – Operations, Monitoring, and Troubleshooting

Platform Monitoring

  • Monitoring cluster and application health
  • Analyzing resource metrics
  • Assessing node health
  • Checking workload status
  • Evaluating capacity and resource utilization
  • Identifying performance constraints

Logging and Events

  • Accessing container logs
  • Reviewing pod logs
  • Retrieving previous container logs
  • Interpreting Kubernetes events
  • Analyzing application and platform messages
  • Filtering and interpreting operational data

Health Checks

  • Implementing startup probes
  • Configuring readiness probes
  • Setting up liveness probes
  • Designing effective health endpoints
  • Diagnosing probe failures
  • Preventing unnecessary application restarts

Troubleshooting Workloads

  • Investigating pending pods
  • Resolving image pull failures
  • Addressing crash loops
  • Correcting misconfigured environment variables
  • Troubleshooting failed mounts
  • Identifying insufficient resources
  • Resolving permission errors
  • Fixing service and route connectivity problems
  • Addressing DNS issues
  • Diagnosing application startup failures

Operational Security

  • Reviewing permissions
  • Proper usage of service accounts
  • Secure handling of credentials
  • Image security practices
  • Implementing network isolation
  • Auditing platform access
  • Applying the principle of least privilege

Maintenance and Lifecycle Management

  • Performing routine platform checks
  • Node maintenance procedures
  • Considerations for application backups
  • Configuration backup strategies
  • Planning updates
  • Change management processes
  • Testing updates
  • Rollback planning
  • Disaster recovery concepts

Final Practical Workshop

Participants complete an end-to-end operational scenario:

  • Building and tagging a container image.
  • Publishing the image to a registry.
  • Deploying the application to Kubernetes or OpenShift.
  • Configuring application settings and credentials.
  • Exposing the application.
  • Attaching persistent storage.
  • Configuring access permissions.
  • Adding health checks.
  • Scaling and updating the application.
  • Diagnosing and resolving an introduced failure.

Course Format

  • Interactive lectures and technical discussions.
  • Instructor demonstrations.
  • Extensive hands-on exercises.
  • Scenario-based administration and troubleshooting workshops.
  • Practical work in container, Kubernetes, and OpenShift environments.

Course Customization Options

  • The course can be adapted to the participant's existing infrastructure, cloud provider, and container tooling.
  • The balance between Docker, Kubernetes, and OpenShift topics can be adjusted according to the team's experience.
  • Practical exercises can be tailored to the organization's applications, deployment processes, and operational requirements.

Trademark Notice

OpenShift is a trademark of Red Hat, Inc. This independently developed training is not affiliated with, endorsed by, or authorized by Red Hat.

Requirements

Participants should possess:

  • Experience using the Linux command line.
  • Basic knowledge of system administration or DevOps practices.
  • A general understanding of networking concepts.
  • Familiarity with software deployment processes.

Previous experience with Docker, Kubernetes, or OpenShift is beneficial but not mandatory.

 35 Hours

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories