menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Devops News

Devops News

source image

Dev

1M

read

17

img
dot

Image Credit: Dev

How to Run Environment Variables in a Docker Container

  • Environment variables are key-value pairs that are set in your shell, ready for running applications to read.
  • Processes don't execute directly in your shell, Docker allows you to package apps with dependencies as separate self-contained environments.
  • You must pass environment variables from your shell to your containers for Docker.
  • Docker environment variables are predefined values which can be passed to a containerized application.
  • You can pass Docker environment variables through three ways: a CLI flag, an .env file, and Docker Compose.
  • Best practices include using Docker secrets instead of environment variables for sensitive data.
  • Another practice is to ensure your containerized processes are designed to use environmental variables for configuration.
  • Using file-based approach to environment variables makes it easier to keep track of changes and provide sensible defaults without confusing users.
  • It is important to use a consistent environment variable naming scheme to avoid conflicts with other processes.
  • Lastly, environment variables are ideal for many situations, but they are not your only options.

Read Full Article

like

1 Like

source image

Dev

1M

read

336

img
dot

Image Credit: Dev

Unlock Innovation with Neardi’s Rockchip Development Boards: The Ultimate Choice for Embedded Systems

  • Neardi Technology offers advanced SOC-based Rockchip development boards, which provide a combination of power, efficiency, and scalability.
  • Rockchip development boards offer multi-core ARM CPUs, NPUs, and high-performance GPUs for advanced computing and graphics tasks.
  • Rockchip development boards support interfaces such as USB, HDMI, PCIe, and UART and optimize seamless integration with peripheral devices.
  • Neardi development boards feature customizable memory, storage, and connectivity options making them ideal for specific project requirements.
  • The boards are built with industrial-grade durability, including operating reliably across extreme temperature ranges.
  • Neardi's RK3399Pro board is designed for machine vision and ADAS use cases and supports multiple AHD and depth camera inputs and is compatible with Android and Linux.
  • RK3568 Industrial Board and Compact Board are built for AI visual computing that optimizes multi-display connectivity and larger storage capacity.
  • RK3588 and RK3588S Development Boards from Neardi offer highly advanced computing and communication capabilities making them ideal for robotics, multimedia and display etc.
  • Neardi development boards and platforms are rigorously tested for durability, reliability, performance, and scalability providing a cost-effective solution in the testing phase.
  • The boards offer a wide range of applications from machine vision and industrial automation to multimedia, making them ideal for various industries.

Read Full Article

like

20 Likes

source image

Dev

1M

read

170

img
dot

Image Credit: Dev

Measuring Crowd Engagement with an MQTT-based IoT App

  • This blog walks through how to deploy an IoT setup with SpinKube to your booth to measure engagement.
  • Specifically, we will use the volume of sound around the booth as a proxy for booth engagement at any given point.
  • We will explore a Spin application that uses the MQTT trigger and deploy it to run on your Kubernetes cluster using SpinKube, whether on the edge or in the cloud.
  • Our Spin app will receive MQTT messages from sound devices that are at each booth and chart booth volume over time.
  • Individual components in a Spin app can be triggered for messages published to specific topics of this broker.
  • The HTTP triggered api component fetches all rows from the noise_log database and returns them serialized.
  • With our Spin application completed, we can now deploy it to Kubernetes by configuring the cluster with SpinKube.
  • Before deploying our application to the cluster, we need to install the spin kube plugin and build and push the application to a registry.
  • Now, let’s scaffold and apply our Spin application, setting the MQTT broker address through the broker_uri application variable.
  • To assess booth traffic, apply ingress or port-forward your mqtt-booth-volume service.

Read Full Article

like

10 Likes

source image

Dev

1M

read

161

img
dot

Image Credit: Dev

User Authentication 🔑: Your Ultimate Digital Shield ! 🛡️

  • User authentication is crucial in ensuring data security in the face of increasing cyberattacks.
  • The authentication process involves identification, authentication, and authorization.
  • Fundamental security principles include least privilege, defense in depth, and traceability.
  • Authentication can be centralized or decentralized, and can involve multiple factors for enhanced security.
  • Popular authentication protocols include NTLM, Kerberos, EAP, and RADIUS.
  • Choosing the right authentication mechanisms is vital in preventing data leaks and ensuring user safety.

Read Full Article

like

9 Likes

source image

Amazon

1M

read

62

img
dot

Image Credit: Amazon

Your DevOps and Developer Productivity guide to 2024 re:Invent

  • The annual AWS re:Invent conference is around the corner with an impressive lineup featuring DOP sessions ranging from Infrastructure as Code(IaC), Continuous Integration and Continuous Deployment(CI/CD) to GenAI sessions.
  • Notable DOP session for 2024 includes DOP220 by VP of Developer Experience, Adam Seligman, on Reimagining the Developer Experience at AWS, fueling creativity and customer impact.
  • Reserved seating is available for attendees to secure seats in the sessions of their choice by signing in to the attendee portal and navigating to “Event”, then “Sessions”.
  • Breakout sessions are lecture-style and 60 minutes long delivered by AWS experts, while Chalk Talks are highly interactive sessions with a small audience followed by a Q&A session.
  • Workshops are two-hour interactive learning sessions where small group teams solve problems using AWS services. Builders’ sessions are 60-minute group sessions led by an AWS expert and provide an interactive and hands-on experience for building on AWS.
  • Attendees can register via the provided link or find further information on the full range of DOP offerings by visiting the re:Invent catalog.
  • AWS empowers developers to fearlessly embrace innovative generative AI solutions across the development lifecycle, transforming how developers work, what they build, and who can become a developer.
  • Amazon Q Developer transforms the developer experience by speeding up a range of tasks that support you as you research how to get started, evaluate system design, build secure and scalable applications, upgrade existing applications, and optimize application performance.
  • Developers can automate modernization and upgrade of legacy applications using the power of generative AI, transforming applications to use the latest language features and versions in hours or days and saving significant costs.
  • Attendees can stay updated on DevOps and Developer Productivity by visiting the AWS devops blog or following them on Twitter.

Read Full Article

like

3 Likes

source image

The New Stack

1M

read

313

img
dot

Image Credit: The New Stack

Debugging K8s With K8sGPT in Your Internal Developer Portal

  • AI can be used to proactively identify potential system degradations and provide instant guidance on remediation, which can sometimes cut your average incident resolution time by 50%.
  • K8sGPT is an AI agent designed for Kubernetes (K8s) environments that provides quick recommendations, reduces resolution times, and transforms traditionally reactive processes into proactive ones.
  • To create an automated workflow to enrich your internal developer portal with a real-time view of failing Kubernetes workloads, you would need to integrate Kubernetes cluster, internal developer portal, K8sGPT, AI LLM, and communication facilitator.
  • K8sGPT leverages natural language processing to interpret Kubernetes data and provide actionable recommendations. It currently supports 11 different types of AI backends.
  • Using AI to enrich your internal developer portal can help you centrally manage SDLC data and achieve cross-domain insights with potential automated remediation.
  • HolmesGPT is another emerging open source AI project that complements and extends K8sGPT's functionality and offers AI-driven insights supporting also Kubernetes and other flexible deployment architectures, along with multiple AI models.
  • One of HolmesGPT's standout features is its ability to understand and respond to natural language queries.
  • HolmesGPT extends its analytical capabilities to a wide range of platforms and tools, including PagerDuty, OpsGenie, Prometheus, and Jira.
  • Ultimately, the goal is to create cross-domain workflows, simplify the troubleshooting process, reduce time-to-resolution, and achieve better service quality.
  • Internal developer portals, empowered with AI, can provide refined, contextual information and streamline problem-solving processes, reducing the time it takes to locate issues and figure out how to fix them.

Read Full Article

like

18 Likes

source image

Amazon

1M

read

399

img
dot

Image Credit: Amazon

Introducing AWS CloudFormation Hooks invoked via AWS Cloud Control API (CCAPI)

  • The integration of AWS CloudFormation Hooks with AWS Cloud Control API (CCAPI) has been announced, which allows the use of hooks to validate the configuration of resources being provisioned through CCAPI.
  • CloudFormation Hooks enable the validation of resource configuration during resource create and update operations and can be triggered on change sets, entire stack templates or by each resource.
  • Hooks can be configured to prevent any misconfigured resources from being deployed in your account and can enforce security best practices, apply organizational policies and standardize validation across infrastructure as code solutions like CloudFormation, Terraform, and Pulumi.
  • The new AWS::Hooks::GuardHook enables the use of the Guard DSL inside of a hook and allows for easy implementation of organizational guidelines.
  • The hook can be configured to log the Guard validation report to an Amazon Simple Storage Service (S3) bucket and use rule from AWS CloudFormation Guard registry to validate that an S3 bucket is using versioning.
  • The Terraform AWS Cloud Control Provider allows for the use of hooks to validate the configuration of Terraform provisioned resources.
  • CloudFormation Hooks provide a powerful way to enforce best practices and compliance for AWS resources and, by leveraging them and the Cloud Control API, consistent validation of resources before deployment can be created across multiple infrastructure as code solutions.
  • The announcement will give users an additional way to use hooks to validate security and other requirements before any changes are made to stack resources.
  • The integration provides another way to validate AWS resources before being provisioned and makes it easier to use the same policy-as-code tool across accounts.
  • The Terraform AWS Cloud Control Provider allows creation of execution plans, management of AWS resources using CCAPI and Terraform and Terraform, which facilitates easier creation of AWS resources.

Read Full Article

like

24 Likes

source image

Kubernetes

1M

read

35

img
dot

Image Credit: Kubernetes

Gateway API v1.2: WebSockets, Timeouts, Retries, and More

  • Kubernetes SIG Network has revealed the general release of Gateway API v1.2 which includes a variety of new features. HTTPRoute timeouts now permit fundamental timeout configuration for HTTP traffic. In addition, Gateway API infrastructure can now be labelled with specific annotations, such as Istio injection. Another new standard addition is the support for Backend Protocol with Kubernetes v1.20 and four resource graduations. Gateway API has also introduced an experimental Named Rules approach to HTTPRoute and GRPCRoute resource rules.
  • Gateway API v1.2 incorporates a release process for Gateway Enhancement Proposals, concluding with a release candidates phase. As always, Gateway API introduces a valuable new tool, in the form of its CLI, Gwctl, which has a standalone Github repo, while the release sees Mattia Lavacca become a Gateway API maintainer.
  • Gateway API v1.2 features conformant implementations including Cilium, Envoy Gateway, Istio, Kong, and Traefik.
  • The Gateway API project offers considerable opportunity for individuals to contribute to both ingress and service mesh features, defining future Kubernetes routing APIs.

Read Full Article

like

2 Likes

source image

Dev

1M

read

381

img
dot

Image Credit: Dev

The Struggle To Test Microservices Before Merging

  • Integration testing of microservices can be a struggle.
  • There are various approaches, such as integration testing using mocks, contract testing, and end-to-end testing.
  • Integration testing with mocks doesn’t require a full environment setup and seed specific data for testing.
  • Contract testing is valuable for services that interact via HTTP and have RESTful relationships.
  • End-to-end testing assesses real interactions and behaviors of the system but can elongate the development cycle when only run post-merge or in pre-production.
  • Canary-style testing in a shared baseline environment enables API and frontend-level testing pre-merge, with request routing as a solution to let “test” versions of services interact with a cluster.
  • Request routing eliminates the need to duplicate environments and streamlines testing processes.
  • Signadot is a tool that enables high-quality pre-merge testing with a shared staging cluster, leading to significant time and cost savings.
  • Running efficient pre-merge tests can reduce the chances of issues in production.
  • Proper integration testing helps catch issues early, ensuring comprehensive coverage and high accuracy.

Read Full Article

like

22 Likes

source image

Dev

1M

read

300

img
dot

Image Credit: Dev

Introducing Kontroler: A Kubernetes Scheduling Engine for DAGs

  • Kontroler is a Kubernetes scheduling engine designed to simplify the management of Directed Acyclic Graphs (DAGs) and allows to define workflows in YAML.
  • Kontroler simplifies management processes by providing a Kubernetes-native solution to define, schedule, and manage workflows.
  • Kontroler supports both scheduled and real-time workflows.
  • Kontroller's design ensures that any workload can be easily integrated into a DAG, and offers an optional web-based UI for better visualization and monitoring.
  • Kontroler's pod templates let you customize tasks with advanced Kubernetes features like security contexts, node affinity, and more.
  • Kontroler offers flexible database support and logging capabilities, allowing teams to manage DAGs and capture detailed execution logs.
  • Kontroler is currently in alpha state and may not be ready for production use.
  • Kontroler offers support for both SQLite and PostgreSQL databases, depending on the size of the deployment.
  • Kontroler integrates seamlessly with Amazon S3 for log storage, making it easy to collect, store, and analyze logs from DAG executions.
  • Kontroler has significant potential for teams looking to streamline their Kubernetes operations, and aims to become a powerful tool for orchestrating workflows in Kubernetes.

Read Full Article

like

18 Likes

source image

The New Stack

1M

read

0

img
dot

Image Credit: The New Stack

Kueue Can Now Schedule Kubernetes Batch Jobs Across Clusters

  • A batch scheduler called MultiKueue, developed by the K8s Kubernetes Batch Working Group, can now schedule workloads on external clusters.
  • MultiKueue simplifies operations management and expands the range of available computational resources.
  • It supports managing a complex infrastructure with multiple clusters across administrative domains.
  • MultiKueue enables job submission to a control cluster, which searches for available clusters and places the job based on sufficient capacity.

Read Full Article

like

Like

source image

Medium

1M

read

35

img
dot

Image Credit: Medium

The Three Most Important Paths to Peace for Tech Product Leaders

  • The concept of MVP is often misinterpreted as a quick and dirty product sacrificing quality for speed.
  • Adopting an iterative mindset helps in continuous improvement and encourages feedback-driven refinement.
  • Getting the product into a real-world environment as quickly as possible allows for validation and faster learning.
  • Start with a strong foundation by focusing on the simplest version of the product that solves the core problem.

Read Full Article

like

2 Likes

source image

Dev

1M

read

390

img
dot

Image Credit: Dev

Deploying Spring Boot Applications to the Cloud: A Beginner's Guide

  • Modern software deployment is all about containers and orchestration, and if you’re working with Spring Boot, leveraging Docker and Kubernetes can transform how you manage and scale applications.
  • This beginner-friendly guide explains how to package a Spring Boot application into a Docker container and deploy it to a Kubernetes cluster.
  • The guide provides step-by-step instructions for preparing your Spring Boot application for Docker, creating a Dockerfile, building and running the Docker image.
  • It also covers deploying the Dockerized Spring Boot application to Kubernetes, creating a deployment manifest, exposing the application with a service, and configuring environment variables.

Read Full Article

like

23 Likes

source image

Dev

1M

read

17

img
dot

Image Credit: Dev

MySQL Not Responding? A Simple Guide to Diagnosing and Fixing It

  • This guide will show you simple ways to check the status of your MySQL server, whether it's running or stopped, and how to fix common problems.
  • Different commands can be used to verify if your MySQL server is running based on your operating system.
  • If MySQL isn't running, you can take several steps to troubleshoot and get it back up and running.
  • Logs are critical for diagnosing issues, monitoring performance, and understanding your MySQL server's behavior.
  • The error log records critical information about server startup, shutdown, and any errors that occur.
  • The MySQL general query log records all SQL queries received by the server, along with connection and disconnection events.
  • The MySQL slow query log helps you identify and optimize slow-running queries, which can negatively impact database performance or even cause server shutdowns.
  • You may need to quickly restart MySQL to recover from an unexpected shutdown and limit downtime.
  • MySQL's behavior is governed by its configuration file, commonly named my.cnf on Unix-based systems and my.ini on Windows.
  • Adequate disk space is crucial for MySQL's operation, as insufficient space can lead to server crashes or data corruption.

Read Full Article

like

1 Like

source image

Medium

1M

read

94

img
dot

Image Credit: Medium

How adidas Revolutionized Its Infrastructure with Kubernetes

  • Adidas leveraged Kubernetes to transform its infrastructure and culture
  • The challenge: Developers faced a clunky, bureaucratic process to access virtual machines
  • The solution: Adidas embraced Kubernetes for containerization, agile development, continuous delivery, and a cloud-native platform
  • Impact: Adidas achieved faster load times, increased agility, and migrated critical systems to the cloud-native platform

Read Full Article

like

5 Likes

For uninterrupted reading, download the app