openshift

Meteor: Match error: Failed Match.OneOf or Match.Optional validation (websocket)

六月ゝ 毕业季﹏ 提交于 2019-12-22 05:20:37
问题 I have a website that uses Meteor 0.9. I have deployed this website on OpenShift (http://www.truthpecker.com). The problem I'm experiencing is that when I go to a path on my site (/discover), then sometimes (though not always), the data needed are not fetched by Meteor. Instead I get the following errors: On the client side: WebSocket connection to 'ws://www.truthpecker.com/sockjs/796/3tfowlag/websocket' failed: Error during WebSocket handshake: Unexpected response code: 400 And on the server

Meteor: Match error: Failed Match.OneOf or Match.Optional validation (websocket)

不打扰是莪最后的温柔 提交于 2019-12-22 05:20:02
问题 I have a website that uses Meteor 0.9. I have deployed this website on OpenShift (http://www.truthpecker.com). The problem I'm experiencing is that when I go to a path on my site (/discover), then sometimes (though not always), the data needed are not fetched by Meteor. Instead I get the following errors: On the client side: WebSocket connection to 'ws://www.truthpecker.com/sockjs/796/3tfowlag/websocket' failed: Error during WebSocket handshake: Unexpected response code: 400 And on the server

OpenShift 4 之Knative(2) - 第一个Serverless应用

≡放荡痞女 提交于 2019-12-22 05:12:10
在完成了《 OpenShift 4 之Knative(1) - 创建Knative无服务器架构环境 》后,我们部署一个基于Knative的Serverless应用。本文先部署一个Serverless应用(dumpy-servless)。作为对比,然后部署一个非Serverless应用(dumpy),最后对比两个应用的运行效果。 文章目录 部署非Serverless应用(dumpy) 部署Knative Serverless应用(dumpy-serverless)\ 对比dumpy与dumpy-serverless 部署非Serverless应用(dumpy) 创建项目和权限 $ oc new-project kn-demo $ oc create serviceaccount pipeline $ oc adm policy add-scc-to-user privileged -z pipeline $ oc adm policy add-role-to-user edit -z pipeline 允许在tekton中使用openshift-client $ oc create -f https://raw.githubusercontent.com/tektoncd/catalog/master/openshift-client/openshift-client-task

Run CRON job every 5 minutes on OpenShift (Red Hat Cloud)

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-22 04:50:54
问题 I'm trying to run this script every 5 minutes. It seems the only way to run CRON jobs on OpenShift is to use their CRON plugin. And the CRON plugin only allows for minutely, hourly, and daily scripts (by placing the script in the corresponding folder). I am trying to run this script every 5 minutes: #!/bin/bash php /var/lib/openshift/53434c795973ca1ddc000668/app-root/runtime/repo/scheduled.php > /dev/null 2>&1 But right now it runs every minute (because it's placed in the minutely folder).

Can't use rhc after installation , for openshift

我与影子孤独终老i 提交于 2019-12-22 04:40:56
问题 I'm running into a weird issue after installing rhc and vmc. None of the below seems to be working. For Openshift: https://openshift.redhat.com/app/getting_started For Cloudfoundry: http://docs.cloudfoundry.com/tools/vmc/installing-vmc.html I'm using Ubuntu 10.04 root@bose-Vostro-1540:/home/bose# gem install rhc Successfully installed parseconfig-0.5.2 Successfully installed rhc-0.88.9 2 gems installed Installing ri documentation for parseconfig-0.5.2... Installing ri documentation for rhc-0

https security certificate not trusted error on mobile via openshift server

 ̄綄美尐妖づ 提交于 2019-12-22 03:58:10
问题 I'm starting an app on openshift. I've purchased comodo positive ssl from namecheap and followed the instructions to install on openshift. It works fine on desktop browsers but i get the following "not trusted" error on android browsers. I have not tried IOS. i uploaded following files to openshift: stylistcity_com.crt server.key Other files i have that were not used include: server.csr server.pass.key AddTrustExternalCARoot.crt PositiveSSLCA2.crt Any help would be appreciated. 回答1: Thanks to

https security certificate not trusted error on mobile via openshift server

拜拜、爱过 提交于 2019-12-22 03:58:05
问题 I'm starting an app on openshift. I've purchased comodo positive ssl from namecheap and followed the instructions to install on openshift. It works fine on desktop browsers but i get the following "not trusted" error on android browsers. I have not tried IOS. i uploaded following files to openshift: stylistcity_com.crt server.key Other files i have that were not used include: server.csr server.pass.key AddTrustExternalCARoot.crt PositiveSSLCA2.crt Any help would be appreciated. 回答1: Thanks to

What is the “kube-system” namespace for?

烈酒焚心 提交于 2019-12-22 02:01:40
问题 In a default openshift install, there is an unused project titled kube-system . It seems like openshift-infra is for things like metrics, default is for the router and registry, and openshift is for global templates. What is the kube-system project used for though? I can't find any docs on it. 回答1: kube-system is the namespace for objects created by the Kubernetes system. Typically, this would contain pods like kube-dns , kube-proxy , kubernetes-dashboard and stuff like fluentd, heapster,

How to force https on wildfly 8.1 in openshift?

我们两清 提交于 2019-12-22 00:52:44
问题 So I have this app running on openshift that uses the wildfly 8.1 cartridge. I would like to force all urls to go through https instead of http. Https is working fine, but I can also access the same pages using http. Which is what I want to disable. I've found this KB article: https://www.openshift.com/kb/kb-e1044-how-to-redirect-traffic-to-https but this doesn't describe the configuration for wildfly specifc. This is my standalone.xml config from wildfly on openshift: http://pastebin.com

Git Pull from Openshift using Windows: Invalid refspec

给你一囗甜甜゛ 提交于 2019-12-21 22:47:11
问题 I created a PHP application on Openshift and successfully SSH into my app. My Git repository on Openshift is similar to this: ssh://1234567890@my_app_name.rhcloud.com/~/git/app_name.git/ . I also created a local Git repository on my computer. I saved my public and private keys here (relative to my local repo): ../ssh/ . I named the public and private keys like this: .ssh and .ssh.pub I'm trying to Git pull from my Openshift repo with the following: git pull ssh:../ssh/.ssh 1234567890@my_app