Node.js

Kubernetes integration and more in odo 2.0

Kubernetes integration and more in odo 2.0

Odo is a developer-focused command-line interface (CLI) for OpenShift and Kubernetes. This article introduces highlights of the odo 2.0 release, which now integrates with Kubernetes. Additional highlights include the new default deployment method in odo 2.0, which uses devfiles for rapid, iterative development. We’ve also moved Operator deployment out of experimental mode, so you can easily deploy Operator-backed services from the odo command line.

Continue reading “Kubernetes integration and more in odo 2.0”

Share
Deploying serverless Node.js applications on Red Hat OpenShift, Part 1

Deploying serverless Node.js applications on Red Hat OpenShift, Part 1

Red Hat OpenShift Serverless recently became GA, and with it came new options for application deployment. This article introduces one of those new options, Knative Serving. I provide an overview of OpenShift Serverless and Knative Serving, then show you how to deploy a Node.js application as a Knative Serving service.

What is OpenShift Serverless?

According to the OpenShift Serverless GA release:

OpenShift Serverless enables developers to build what they want, when they want, with whatever tools and languages they need. Developers can quickly get their applications up and deployed using serverless compute, and they won’t have to build and maintain larger container images to do so.

OpenShift Serverless is based on the Knative open source Kubernetes serverless project. While it has a few different parts, we will focus on deploying a serverless Node.js application as a Knative Serving service.

Continue reading “Deploying serverless Node.js applications on Red Hat OpenShift, Part 1”

Share
OpenShift 4.5: Bringing developers joy with Kubernetes 1.18 and so much more

OpenShift 4.5: Bringing developers joy with Kubernetes 1.18 and so much more

Since the first Red Hat OpenShift release in 2015, Red Hat has put out numerous releases based on Kubernetes. Five years later, Kubernetes is celebrating its sixth birthday, and last month, we announced the general availability of Red Hat OpenShift Container Platform 4.5. In this article, I offer a high-level view of the latest OpenShift release and its technology and feature updates based on Kubernetes 1.18.

Continue reading OpenShift 4.5: Bringing developers joy with Kubernetes 1.18 and so much more

Share
A developer-centered approach to application development

A developer-centered approach to application development

Do you dream of a local development environment that’s easy to configure and works independently from the software layers that you are currently not working on? I do!

As a software engineer, I have suffered the pain of starting projects that were not easy to configure. Reading the technical documentation does not help when much of it is outdated, or even worse, missing many steps. I have lost hours of my life trying to understand why my local development environment was not working.

An ideal scenario

As a developer, you have to meet a few prerequisites before contributing to a project. For instance, you must agree to the version-control requirements, and you need to know how to use the project IDE, how to use a package manager, and so on.

But nothing more. You don’t need to learn a poorly documented, made-in-house framework just to satisfy the ego of an architect who wanted to reinvent the wheel. You don’t need to run an external virtual machine to emulate the production environment. As a developer, you are free to invest your time in improving the code and adding value to the product.

A developer-centered approach to application development

My goal with this article is to describe strategies for building an Angular 8 application in a way that centers the developer experience.

Continue reading “A developer-centered approach to application development”

Share
Enterprise Kubernetes development with odo: The CLI tool for developers

Enterprise Kubernetes development with odo: The CLI tool for developers

Kubernetes conversations rarely center the developer’s perspective. As a result, doing our job in a k8s cluster often requires building complicated YAML resource files, writing custom shell scripts, and understanding the countless options that are available in kubectl and docker commands. On top of all of that, we have the learning curve of understanding Kubernetes terminology and using it the way that operations teams do.

Continue reading Enterprise Kubernetes development with odo: The CLI tool for developers

Share
Use Node.js 14 on Red Hat OpenShift

Use Node.js 14 on Red Hat OpenShift

On April 21st, Node.js released its latest major version with Node.js 14. Because this is an even-numbered release, it will become a Long Term Support (LTS) release in October 2020. This release brings a host of improvements and features, such as improved diagnostics, a V8 upgrade, an experimental Async Local Storage API, hardened the streams APIs, and more.

While Red Hat will release a Universal Base Image (UBI) for Node.js 14 in the coming months for Red Hat OpenShift and Red Hat Enterprise Linux, this article helps you get started today. If you’re interested in more about Node.js 14’s improvements and new features, check out the article listed at the end.

Continue reading “Use Node.js 14 on Red Hat OpenShift”

Share
Getting started with JavaScript application development

Getting started with JavaScript application development

For many developers who have never built a JavaScript web application before, the first steps can be daunting. Our development team has the opportunity to interact with both students that are just getting started and developers with lengthy experience building out complex applications. Even seasoned back-end developers often ask where they can get started with JavaScript. Our response is invariably, “Don’t just read. You need to start building things, play with the language to see what it can do.”

JavaScript frameworks

Many times they also ask, “Which framework should I learn?” JavaScript frameworks like Angular, Vue, or React generate a lot of excitement, but they confuse the picture of where to start. At this stage, many developers might not want to choose a framework at all, so that they don’t lock themselves into a specific technology. If you wonder about these same things, you’re not alone. Fortunately, there are plenty of free resources to help you get started with learning how to build enterprise-quality JavaScript applications.

Continue reading “Getting started with JavaScript application development”

Share
Node.js update for Red Hat Runtimes brings improved support for native modules, diagnostic reporting, and more

Node.js update for Red Hat Runtimes brings improved support for native modules, diagnostic reporting, and more

Developing applications on a Kubernetes distribution like Red Hat OpenShift—or on Red Hat Enterprise Linux (RHEL), or by using our Universal Base Images—is easier with Red Hat’s build of Node.js. The latest update of Red Hat Runtimes now includes Node.js 12.4.1, which provides a supported runtime for LTS releases. This new Red Hat build of Node.js together with the release of Red Hat Enterprise Linux 8.1 provides a number of new features and enhancements compared to Node.js 10.

This article focuses on these new features and enhancements.

Continue reading “Node.js update for Red Hat Runtimes brings improved support for native modules, diagnostic reporting, and more”

Share
JetBrains IntelliJ Red Hat OpenShift extension provides debug support for OpenShift components

JetBrains IntelliJ Red Hat OpenShift extension provides debug support for OpenShift components

The 0.2.0 release version of the Red Hat OpenShift extension for JetBrains IntelliJ is now available. You can download the OpenShift Connector extension from the JetBrains Plugins Repository. This release provides a new OpenShift: Debug action to simplify the debugging of OpenShift Components pushed to a cluster. It is similar to features developed for Visual Studio Code and JBoss Tools for Eclipse. OpenShift Connector uses OpenShift Do‘s (odo‘s) debug command under the hood and supports only local Java and Node.js components. This enhancement lets the user write and debug local code without leaving IntelliJ.

This article explains how OpenShift: Debug works and shares the difference between debugging Java and Node.js components in IntelliJ.

Continue reading “JetBrains IntelliJ Red Hat OpenShift extension provides debug support for OpenShift components”

Share