openshift

红帽联手多家云巨头启动托管Kubernetes服务

China☆狼群 提交于 2020-08-05 05:12:20
导语 你更愿意将Kubernetes作为托管服务使用,还是自己管理? 红帽已经扩展了与亚马逊网络服务(AWS)的联盟,现在包括联合管理的服务产品。 Red Hat托管平台副总裁Sathish Balakrishnan表示,通过此产品,AWS将管理公共云,而Red Hat将提供Red Hat OpenShift的完全托管实例。除了提供Red Hat OpenShift Dedicated实例之外,Red Hat已经与Microsoft和IBM建立了类似的托管服务关系,该实例可以由Red Hat在Google Cloud Platform(GCP)上部署和更新。 Balakrishnan说,完全托管的Red Hat OpenShift服务之间的区别在于,所有计费都是通过客户与AWS,Microsoft或IBM签订的现有合同提供的。 由于建立Red Hat OpenShift的Kubernetes基础的复杂性,人们对Red Hat OpenShift托管服务的兴趣越来越高。许多组织都在决定,他们更愿意将Kubernetes作为服务使用,而不是自己管理。此外,组织可能很难找到和保留具有Kubernetes专业知识的IT专业人员。其他人可能决定依靠托管服务来培训自己的员工在将来的某个日期接任。 在COVID-19大流行带来的经济衰退之后

Permission denied when changing permissions on PV with init-container

淺唱寂寞╮ 提交于 2020-07-30 07:41:38
问题 I am trying to run an deployment config on OpenShift. Part of my deployment config runs an init container which sets up permissions on persistent volume with chown. When the init-container fires up, it fails and the logs print out "permission denied" Here is my init-container: - apiVersion: v1 kind: DeploymentConfig metadata: name: ${NAME}-primary namespace: ${NAMESPACE} spec: replicas: 1 strategy: type: Recreate template: metadata: labels: name: ${NAME}-primary test-app: ${NAME} spec:

Kubernetes - Liveness and Readiness probe implementation

帅比萌擦擦* 提交于 2020-07-17 06:25:08
问题 I'm developing a service using Spring and deploying it on OpenShift. Currently I'm using Spring Actuator health endpoint to serve as a liveness and readiness probe for Kubernetes. However, I will add a call to another service in a Actuator health endpoint, and it looks to me that in that case I need to implement new liveness probe for my service. If I don't do that then a failure in a second service will result with a failure in liveness probe failing and Kubernetes will restart my service

How to resolve Unsatisfied dependency expressed through field 'schedulerService'?

北城余情 提交于 2020-07-09 12:48:02
问题 I'm trying to install a custom built SCDF2.5.1(To add oracle Driver) into openshift (Followed the Kubectl installation doc for SCDF). I modified the deployment.yaml to pull this custom SCDF docker image of mine from git repo. Now when I start the container I get the below error INFO org.hibernate.dialect.Dialect.<init> - HHH000400: Using dialect: org.hibernate.dialect.Oracle12cDialect INFO org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator.initiateService - HHH000490:

How to resolve Unsatisfied dependency expressed through field 'schedulerService'?

℡╲_俬逩灬. 提交于 2020-07-09 12:47:10
问题 I'm trying to install a custom built SCDF2.5.1(To add oracle Driver) into openshift (Followed the Kubectl installation doc for SCDF). I modified the deployment.yaml to pull this custom SCDF docker image of mine from git repo. Now when I start the container I get the below error INFO org.hibernate.dialect.Dialect.<init> - HHH000400: Using dialect: org.hibernate.dialect.Oracle12cDialect INFO org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator.initiateService - HHH000490:

django.core.exceptions.ImproperlyConfigured: WSGI application 'application' could not be loaded

ⅰ亾dé卋堺 提交于 2020-07-05 07:17:37
问题 The scenario is, I cloned the Django code for OpenShift-V3 from here . When I run the code using python manage.py runserver getting an error as, django.core.exceptions.ImproperlyConfigured: WSGI application 'application' could not be loaded; Error importing module: 'application doesn't look like a module path I didn't add anything to the code and the required packages are already satisfied. 回答1: Go to django-ex/project/settings.py Change the line in settings.py as below WSGI_APPLICATION =

Openshift retrieve branch name in jenkinsfile

天大地大妈咪最大 提交于 2020-06-28 14:24:07
问题 I have configured webhook on bitbucket server which points to Openshift. I want to get GIT repo url , git branch etc from webhook payload in my inline jenkinsfile but I dont know how to retrieve them. (Webhook triggers build though). Is it possible ? Here is my BuildConfig apiVersion: build.openshift.io/v1 kind: BuildConfig metadata: labels: application: spring-demo template: openjdk18-web-basic-s2i name: spring-demo spec: output: to: kind: ImageStreamTag name: 'spring--demo:latest' runPolicy

DB Credentials Exposed as part job parameters when executing a task from SCDF

删除回忆录丶 提交于 2020-06-17 09:17:07
问题 I have Custom Built SCDF which is built as docker image in Openshift and referred in server-deployment.yaml as docker image.I use the Oracle db to store the task meta data and is an external source here. I pass the all db properties in configmap. The DB password is base64 encoded and added in config map as secret. These db details are being used by SCDF to store task metadata. These job parameters are passed by SCDF to the executing job.But these job parameters which in turn are the

python websocket failure when run in openshift

孤人 提交于 2020-06-17 03:05:32
问题 I have a autobahn twisted websocket running in python which is working in a dev vm correctly but I have been unable to get working when the server is running in openshift. Here is the shortened code which works for me in a vm. from autobahn.twisted.websocket import WebSocketServerProtocol, WebSocketServerFactory, listenWS from autobahn.twisted.resource import WebSocketResource class MyServerProtocol(WebSocketServerProtocol): def onConnect(self, request): stuff... def onOpen(self): stuff...

python websocket failure when run in openshift

偶尔善良 提交于 2020-06-17 03:05:17
问题 I have a autobahn twisted websocket running in python which is working in a dev vm correctly but I have been unable to get working when the server is running in openshift. Here is the shortened code which works for me in a vm. from autobahn.twisted.websocket import WebSocketServerProtocol, WebSocketServerFactory, listenWS from autobahn.twisted.resource import WebSocketResource class MyServerProtocol(WebSocketServerProtocol): def onConnect(self, request): stuff... def onOpen(self): stuff...