前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >openshift|如何登录与登出

openshift|如何登录与登出

作者头像
heidsoft
发布2019-07-07 15:16:28
1.5K0
发布2019-07-07 15:16:28
举报

k8s逐渐已成为企业IT基础设施的标配,需要进一步学习企业基本k8s--openshift的功能,强化对容器云的理解及其架构,在深入理解平台理念后作出开发与定制创新。

OpenShift是红帽的云开发平台即服务(PaaS)。自由和开放源码的云计算平台使开发人员能够创建、测试和运行他们的应用程序,并且可以把它们部署到云中。Openshift广泛支持多种编程语言和框架。

Red Hat OpenShift 4 expands the platform’s capabilities as a leading enterprise-grade, hybrid cloud Kubernetes platform, bringing the innovation of full stack automated operations and updates, as well as expanded developer capabilities for any type of application.

https://www.redhat.com/en/about/press-releases/red-hat-redefines-enterprise-kubernetes-through-full-stack-automation-red-hat-openshift-4

Empowering developers to innovate Application development is imperative for many IT organizations given its role in accelerating digital transformation. OpenShift 4 supports the evolving needs of application development as a consistent platform to optimize developer productivity with:

  • Self-service, automation and application services to help developers extend their application by on-demand provisioning of application services and providing build and deploy automation for containerized applications backed by Operators.
  • Red Hat CodeReady Workspaces enable developers to leverage the power of containers and Kubernetes, while working with familiar integrated development environment (IDE) tools that they use day-to-day. CodeReady Workspaces are more consistent, collaborative and protected than when running containers or virtual machines (VMs) on a laptop. This includes the tools and dependencies needed to code, build, test, run, and debug containerized applications in a web-based IDE.
  • OpenShift Service Mesh, which combines Istio, Jaeger, and Kiali projects as a single capability that encodes communication logic for microservices-based application architectures, freeing developer teams to focus on business-add logic.
  • Knative for building serverless applications in Developer Preview, which makes Kubernetes an ideal platform for building, deploying and managing serverless or function-as-a-service (FaaS) workloads. Knative features include scale-to-zero, autoscaling, in-cluster builds, and eventing frameworks for developing cloud-native applications on Kubernetes. It enables developers to focus on writing code by hiding complex parts of building, deploying, and managing their applications.
  • KEDA (Kubernetes-based event-driven autoscaling), a collaboration between Microsoft and Red Hat that supports deployment of serverless event-driven containers on Kubernetes, enabling Azure Functions in OpenShift, in Developer Preview. This allows for accelerated development of event-driven, serverless functions across hybrid cloud and on-premises with Red Hat OpenShift.
  • Operator-enabled application environments on OpenShift with Red Hat Middleware, bringing the power of OpenShift Certified Operators to critical integration and process automation technologies. This enables IT organizations to unify their development environments around Operator capabilities, enabling developers to focus purely on delivering next-generation services and applications without having to worry about updating or maintaining of tooling.
  • Operator-enabled Red Hat OpenShift Container Storage 4, currently under development. It offers highly scalable persistent storage for cloud-native applications that require features such as encryption, replication, and availability across the hybrid cloud. Application teams can dynamically provision persistent volumes for a wide variety of workload categories including SQL/NoSQL databases, CI/CD pipelines and AI/ML.

Availability Red Hat OpenShift 4 will be available in the next month.

登录

oc login

指定用户登录

登出

oc login

操作的前提是你本地需要oc命令

oc命令安装方式根据系统略有不同。

参考:https://docs.openshift.com/container-platform/3.11/cli_reference/get_started_cli.html#installing-the-cli

token 访问

分为session token 与serviceaccount token,基于这两个token都能根据api 获取集群资源,他们的区别是前者默认24小时,或者是一个长期的token。

本文参与 腾讯云自媒体分享计划,分享自微信公众号。
原始发表:2019-06-29,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 云数智圈 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
相关产品与服务
容器服务
腾讯云容器服务(Tencent Kubernetes Engine, TKE)基于原生 kubernetes 提供以容器为核心的、高度可扩展的高性能容器管理服务,覆盖 Serverless、边缘计算、分布式云等多种业务部署场景,业内首创单个集群兼容多种计算节点的容器资源管理模式。同时产品作为云原生 Finops 领先布道者,主导开源项目Crane,全面助力客户实现资源优化、成本控制。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档