I assume the site was blocked because another site using the hosting service (OpenShift) was flagged as a malicious website. Unfortunately this is beyond my control since I'm just one of many people using the hosting service
I think Red Hat has done a bit more on top of Kubernetes to consider it "just [a] distribution". They've added multitenancy and a lot of networking and registry stuff on top, plus very easy to deploy aggregated logging and metrics. Check out https://www.openshift.com/container-platform/kubernetes.html for a comparison. I was very surprised to see the add-ons beyond Kubernetes.
I use Digital Ocean as well, but there is another option that has a free tier: https://www.openshift.com/. If you are concerned about your app going idle, you could use something like uptimerobot.com to keep it alive.
Edit: It looks like OpenShift is in the process of moving to a new platform and while that is happening you can't open an account with their existing platform and their new platform is in beta so you only get 30 days :(
I am just hearing about it. Site says "Your project resources sleep after 30 minutes of inactivity, and must sleep 18 hours in a 72 hour period" So maybe you can schedule your inactivity? eg call System.sleep(60 * 1000) at 3am. https://www.openshift.com/products/online/
Too bad the price goes from zero to $50/month - quite a BIG jump.
I work on Red Hat JBoss Middleware products, specifically on tailoring them for use in Red Hat's OpenShift Enterprise product. In practice that means a lot of Docker and related stuff.
There are quite a few hosters which are reliable and give you enough power to handle quite a lot of page views in their free tiers. Like OpenShift or AppFog. There are probably more. But I used both of them and so far never had any problems with downtimes etc.
I don't know what you use on your backend to return the data or if it's all static but I suppose either hoster should be able to handle it.
edit If you need help with setting this up just sent me a PM
Yeah, I see your point. I have about a dozen apps on Heroku on the free tier but none of them use up more than 18 hours.
As I read more about it I'm seeing the amount of people this will be affecting.
I was glad when I heard of thew new tiers, I just had to upgrade two of the apps to be on 24/7 and was going to be paying $35/m each. Now with they hobby tier I only gotta pay $7/each.
Have you looked into OpenShift? https://www.openshift.com/
They only offer 3 free gears/dynos per account and they won't idle unless they don't get any requests in a 24 period.
From your About Page:
> With hookscript you make web apps without configuring a database, managing a server, or creating an account..
In other words, you're entering the PaaS (Platform as a Service) market. That's a great market to be in and I welcome more Perl-friendly PaaS providers. Further, PaaS, despite what detractors say, is has a brilliant future and those who compete well in this area should do nicely. I also have to admit that Prolog looks lovely, too, but I would be surprised at its viability.
That being said, HOLY SHIT your prices are insane! My apologies for using such strong language (I don't like to do that), but HOLY SHIT. I can't imagine for a moment that anyone would pay that and that makes me question the fundamentals of the business. Here's the pricing for volume discounts:
Monthly Charge | % Discount | Adjusted Rate per Minute |
---|---|---|
< $10 | 0% | $0.12/minute |
$10-$20 | 20% | $0.096/minute |
$20-40 | 40% | $0.072/minute |
> $40 | 60% | $0.048/minute |
So let's compare this to OpenShift, a full-featured PAAS. Here's their pricing:
— | CPU | Memory | Storage | Region | Usage |
---|---|---|---|---|---|
BASIC GEARS | |||||
Small | 1x | 512MB | 1GB** | US only | $0.02 / hour* |
PRODUCTION GEARS | |||||
Small.highcpu | 2x | 512MB | 1GB** | US & Europe | $0.025 / hour |
Medium | 2x | 1GB | 1GB** | US & Europe | $0.05 / hour |
Large 4x | 2GB | 1GB** | US & Europe | $0.10 / hour |
So OpenShift's lowest price appears to be $0.02 per hour, but your lowest price appears to be $2.88 per hour, or your lowest price is 144 times higher than a typical competitors?
So either this is one of the most poorly researched business ideas I have seen, or there's something fundamentally different about hookscript that your marketing efforts have failed to convey.
OpenShift has free 3 small VMs for all. Heroku has one small CPU for all. GitHub has Student pack which includes 100$ of digital ocean among other things.
OpenShift runs containers by default with a random user (not directly random) https://www.openshift.com/blog/a-guide-to-openshift-and-uids . This isn‘t the nginx user and therefore you cannot create files in a directory owned by the nginx user. To solve this issue in your case, why not simply call gzip in the dockerfile (before runtime) instead of in the entrypoint (runtime)?
Wrong.
OKD supports cnv container native virtualization and it could spun up any VM that KVM support (I think just power8 is missing ATM) https://www.openshift.com/blog/openshift-4-3-creating-virtual-machines-on-kubernetes-with-openshifts-cnv
Also OKD supports Windows workers to run windows containers. https://www.openshift.com/blog/announcing-general-availability-for-windows-container-workloads-in-openshift-4.6
Follow the documentation for openshift. It is straight forward identical for okd.
Start here: https://www.openshift.com/learn/topics/security/
That’s a good outline. But one thing that’s often overlooked is all the security that’s required to maintain the things that make a Kube instance suitable for the enterprise. Sure, you might be able to achieve something close to openshift using a bunch of random projects, but does that extend into your build system, your service mesh, your pipeline system, the operating system even? Vulnerabilities pop up in every one of these massive projects and it’s usually not the business of companies that aren’t secure software vendors to create, patch and maintain all of that headache. If you have that amount of expertise on your team then by all means, that’s the spirit of open source.
So to get at the heart of your question, can you? Probably. Should you? Doubtful. Very very doubtful. Especially if you’re processing financial data like OP has suggested.
Congratulations. I obtained a RH learning sub and hoping to get to that level before it expires. I got a RHCE once back in 04. Looking to finally get do all three RHCSA, RHCE, and RHCA with a focus on OCP management. I already use ansible to do offline installs of OCP which is a beast in and of itself. I see others and you have mentioned podman instead of docker. There pretty much the same thing as I understand it and just dropping the docker REST API as the industry moves to the OCI model using gRPC.
Yes. It'll work just fine. Whilst there is indeed a dependency on the OpenShift python library, it won't stop you using it against a vanilla Kubernetes cluster - like kubeadm will deploy.
Openshift lets you host three applications for free.
Personally use it and it works great, and the bots in /r/indianfood and /r/Ark_Atlantis have been running fine on it.
Took a look at it and the code is fairly straight forward. Only a few changes would be needed to get it running on Openshift:
Main.py
to app.py
requirements.txt
with praw
in itI could help you - or whoever else is going to keep the bot alive - with setting it up.
Can't personally do it though, all three of my free application slots are in use.
Openshift allows you host three free applications, each with their own subdomain of rhcloud.com
.
They're linux-boxes, although not sure what distro, I assume Debian or a custom minimal-flavorless image. You can ssh
into them and do whatever you need, aside from install new packages via apt-get
, you do that via custom cartridges.
Ha ha nah man, I'm good.
Kinda off yet still on topic:
You probably didn't have any host in mind as you're just making this bot to learn and such, but if you ever did want to host it you could do so on Openshift for free, and it'd be up 24/7 unlike the free tiers for other hosts like Heroku and such.
The learning curve might be a bit steep, but It was a nice learning experience for me. Only change to the actual bot code you'd have to do is rename the file to app.py
.
You can use Openshift for hobby projects. It lets you run up to three applications, each with their own subdomain of rhcloud.com
.
On linux, you can install the php5
package and just run php -S 127.0.0.1:9000
in the directory of your .php
file and it'll run a localhost webserver.
I got no clue of the easiest way to get a localhost PHP server working though, can't give you any windows-based advice except to google and try to get a localhost server running with PHP.
Per un wordpress e qualche esperimento ho usato Openshift: è la piattaforma di SaaS di Red Hat e ti dà la possibilità di avere fino a 3 istanze gratuite. Non è un fulmine di guerra, ma con il caching è accettabile.
There are literally 1000s of websites that do this! Just google it!
I use this: https://www.openshift.com/ they have a free plan and can support from a simple html website to php to java!
They also set you up with easy to remember URLs.
Uhm, for wordpress hosting you want a cache plugin, preferably that makes cache in the webserver level, without hitting PHP.
I don't think 1000 articles counts as large, but it really depends on traffic. If you are scared of the rapid grow you can try a cloud hosting service like Amazon or OpenShift.
If you do want to host it yourself then DigitalOcean is what everyone is using right now.
https://www.openshift.com/blog/federated-prometheus-with-thanos-receive
I don't know the current status of Thanos receiver with OpenShift. After the team wrote this blog post we went another direction is the engineering group.
ROSA is OpenShift whereas EKS is vanilla Kubernetes. So I think the question you're asking is what's the difference between OpenShift and Kubernetes. Hopefully this page will help illustrate the differences https://www.openshift.com/learn/topics/kubernetes/
Also see this documentation, in particular the section "Support arbitrary user ids".
Also a recent blogpost goes a bit more in-depth.
Ok this was the basis of the work we did. https://www.openshift.com/blog/how-to-use-gpus-with-deviceplugin-in-openshift-3-10
A lot more work went into it which I will eventually get pasted in here, but for now this is the basics and should translate to anything you might need. The big difference might be the selinux portion, but that is primarily for disabling root containers.
Hi
I see. check this out reastart the pod and make it fail on purpose, then oc rsh <app pod instance>
and try curl -v servicename:5432
(not sure if you need to specify the whole address like <service>.<namespace>.svc.cluster.local:5432) and compare the output with the table on the link above. It’s weird that you get intermittent errors.
Is Postgres a single instance?
You could create a super simple image based on alpine or busybox where you install Postgres client tools and then start it by making the command be tail -f /dev/null
then oc rsh
into it and troubleshoot from there?
What does your service and corresponding Postgres pod look like over time? Can you try connecting to it with Postgres client tools when it has been running for some time? oc logs -f <pod instance>
is handy to follow a pod’s logs. You could also use stern to tail multiple instances’ logs simultaneously, it even picks up new pod logs on restarts.
Good luck
I'm planning on replacing my Proxmox cluster with OpenShift and using Kubevirt as victor brought up in the post above. I currently have a Ceph cluster and would love to switch to containerized Ceph with either OCS or upstream Rook. I'm not hip to the licencing on OCS and whether it's usable in a non-production homelab setup, and poking through Github I still wasn't able to figure out how to build the meta-operator to work with upstream Rook. I'd be really interested if there's any guide or documentation on the process, the recent blog here was a great start but doesn't touch on Ceph. Got any hints?
Tech Preview features like this are in the standard codebase but aren't supported like GA features. So you can do this for free/unsupported today from https://www.openshift.com/try.
I feel the same way about Code Ready Containers.
Yeah, there was a lot about small clusters discussed at Red Hat Summit last week. Lots of work being done there.
OpenShift is a Red Hat made extension of Kubernetes that has HA Proxy built in for what you need. It is a bit of a heavier solution than what other users suggested, being built on top of K8s.
At work I use OpenShift once I have created a new image with my code, I can push it to the internal OpenShift image registry, and once there is an updated version of such and such image it triggers a rollout of new containers with 0 downtime (the old containers stay up until the new containers are ready to take the load. And if you have multiple pod replicas, it will spin one up with the new code, spin one of the old ones down, and so on for the others.)
HA Proxy creates a route to my containers with a subdomain URL, and load balances between replica pods.
> I've done Postgres on top of OpenShift in AWS. Does that count?
I believe so -- https://www.openshift.com/products says: "OpenShift is part of the CNCF Certified Kubernetes program, ensuring portability and interoperability of your container workloads".
> with a lot less benefits
The benefits we are hoping for are:
UPDATE
BTW, thanks for your detailed reply.
My team mate Graham recently published Deploying to OpenShift which is currently available for free download. Another great resource is DevOps with OpenShift by my colleagues Stefano, Mike, and Noel, also available for free download last time I checked. Both offer great intro to advanced material.
openshift online just came out of beta and is a really easy way to run containers
they haven't announced pricing yet, but there is a free plan that you can use.
since you're going with docker though, it doesn't really matter what container service you use since openshift is built on top of kubernetes and you should be able to transition to anything pretty easily
Given that this UserVoice suggestion is directed at OpenShift Online, I rather suspect it won't be acted upon. This is because OpenShift Online is currently in the process of being updated to OpenShift Container Platform, based on Docker and Kubernetes.
As this update will give you, as a user, a great deal more control about what goes into your containers, this issue does rather become a moot point.
I'll just be blunt: there is NO completely free 24/7 hosting solution for constantly running generic code. AFAIK the only platform that does something closely resembling what you want is Redhat Openshift: https://www.openshift.com/ (gives you 3 gears on the free plan) and you will still have to jump through some hoops when using the free plan. For example, there's no direct SSH to the server.
I see.
Yeah this is definitely possible, so I'll do this.
Do you have a host/account setup for the bot?
In case you don't know, bots run using a already-created reddit account, and need a computer to always be running the code.
You can make the account username whatever you want, it's Reddit-bot edicate to have bot
somewhere in the username for accounts that are controlled by bots.
> Maybe PokemonGiveawayGloreBot
, it's up to you at the end.
Openshift is a good host for bots, and it's free.
Try http://c9.io It allows you to run, among other languages, NodeJS, which is a particular favorite of mine. I'm not sure if it will stay online indefinitely, but it stays on long enough for me.
If you need 100% certainty of it remaining online, then https://www.openshift.com/ is your better option. Its prebuilt languages are a bit limited compared to c9, but most major languages are included, and if you're an advanced user, you can create a DIY server and add in your preferred language.
Congrats on making your first bot!
Openshift lets you run up to three free applications on their free tier.
I've been running a reddit bot on it and have had no problems.
I have yet to experience it, but apparently they will throttle a free-tier application if it's too much of a resource hog.
I can make this, although I have just one question: based on what is currently there, do you want only the Western Conference Standings, or do you want the eastern ones there too?
That's about it. I'll probably have it done today or tomorrow.
If you didn't already have a host in mind, Openshift is free. Just takes a little know-how to get setup, but I could help you with that if you need.
I wouldn't downvote for kongregate, as that seems a bit dumb, but I do refuse to play games that require* it. Why? Because the kongregate website takes a long time to load on my computer. I can't play javascript-based games that use kong on mobile. Kongregate also has the same issue that a lot of image hosts have--it loads lots of crap on the website, and only loads the game--the main content--last. With my slow internet connection, it takes as long as 30 seconds to fully load some games. And then leaving them open eats my ram--and I like to leave several games open. And all of this causes even more issues--not all of us use desktop computers; those of us on laptops or even tablets are going to have our batteries eaten away pretty quickly just having one Kongregate tab open. Javascript on a timer is not good for your battery, and neither is lots of constant traffic; think streaming video on your phone (your processor is always working, and you're constantly loading ads and other kong stuff like the chat)
Given all of this, that's really not the stupidest complaint, since there's plenty of alternative free hosting out there. You can even get free PAAS (for server-side programs) hosting with something like Red Hat's OpenShift platform.
If you're actually using kongregate api features (I'm unsure what they all are, but I know they have achievements and such), then that's different. But simply requiring kongregate when you don't really need it? No thanks. Use GitHub pages instead if it's all client-side and openshift if you need server-side. Then add it to kongregate. You can tell kongregate to load a game that's actually hosted elsewhere; I've seen it done before (though I don't know how to do it myself).
*ie, you can't load the game directly. some games you can open the frame in a new tab, that's fine
It strongly depends on the type of the project. Without knowledge of what your project is written in it is fairly difficult, if not impossible, to give you a good answer.
Plain HTML/CSS/JS sites can be hosted for free basically anywhere, sites using PHP/MySQL fall into the same category.
When it comes to Python, Ruby and other backend languages it gets a bit more difficult.
Even more so, when it comes to ASP.NET, Java or other "enterprise" level languages.
Since you were planning to use parse, you could search for a free node.js host, like Redhat Openshift to setup your own Parse server and from there deploy your app.
Amazon's cloud has a free tier that you can use. There's also Openshift which I use, but it's not as flexible.
I've also used IBM's bluemix, but have had poor experiences with it and would not recommend it.
> What I really wish is that Red Hat had its own complete cloud offering. The cloud is the long term future. The hybrid and on-premise cloud technologies will become more and more of a niche' market as time goes on.
What's OpenShift Online, but a cloud offering?
Start by something simple that you actually really use:
Your own portfolio / resume website. Try to use java for the whole backend. You may use something like Spring Boot as a starting point. You can host it for free in openshift
I've created a personal expenses monitoring web app (backbonejs + spring boot + spring batch with jasper report to generate report monthly) and android app. I use this app daily to help me live frugally.
Currently in the progress creating GTD app for personal use to increase my productivity.
If you don't want to spend any money, you could look at making what I like to call a freenkenstein:
Need a database? Mongo: https://mongolab.com/
SQL I don't remember any that's not the heroku ones. Or the 12 month AWS. I don't know If it extends beyond that but anyway, there's that.
Instances? Openshift offers you 3: https://www.openshift.com/ And there's bluemix https://console.ng.bluemix.net/pricing/ with their GB per hour thing, that could you let spin two instances of 256 MB each.
And also, there is what everyone said about paying. Digital Ocean, OVH, whatever
I have no experience of OpenShift however looking at their web site, under free tier, it states that your application will idle after 24 hours of inactivity. https://www.openshift.com/products/pricing/plan-comparison I would guess therefore that if you have an issue with this, you need to pay.
[](/10) XKCD yay. but I asked him to call in, because the database was refusing my connection. I figure it was because my host updates stuff a lot. I've got a theoretical solution. Also I'm mad that openshift removed the public forums now they've just got a single crappy help page that's pretty much a mirror of the documentation.
https://www.openshift.com/ By RedHat has a great free hosting plan. It is a little tricky to get used to but it is very versitial, teaches you essential skills, and its FREE.
This site is perfect for a development enviorment or even a perminent host for a small site. For largely trafficed sites you will likely need something else though.
I found a solution that might work for me, but when researching socket.io, I found reveal.js that looks interesting. When I have some free time, I'll play around with these. It looks like it might be easy to set up.
Try out https://www.openshift.com. You can get started for free with three gears, then upgrade when you need more resources.
Getting started is easy, and you can use almost any language or framework you want.
Yes, thats Openshift behavior, each container will get a uniq UID. Someone already mentioned https://www.openshift.com/blog/a-guide-to-openshift-and-uids describing it in detail. However, you should keep the USER <uid> statement, if there's no USER in your Dockerfile, the (possible) USER statement from the base Image would be taken into evaluation during image instantiation. Which might lead to a failure if the USER requests to be privileged.
Yes, Kasten by Veeam supports Openshift!
https://www.openshift.com/blog/kasten-and-red-hat-migration-and-backup-for-openshift
Your looking for network policy. You need to send
From this guide.
https://www.openshift.com/blog/guide-to-kubernetes-egress-network-policies
Rob Szumski did a really good write-up of the upgrade process and the criteria / thresholds employed when releasing or blocking upgrades from the edges. There's also a video on the same topic that's worth a watch.
As far as the availability of upgrades goes, I'm actually not that surprised a path has been pulled this late in the day. As more folks install / upgrade, there's naturally going to be a greater volume of telemetry to indicate success vs failure between particular releases so it may well be the case that an upgrade path that was previously thought to be stable has presented enough issues across the install base to be temporarily pulled as more data comes in.
Podman is not a Container runtime that supports Kubernetes’s Container Runtime Interface (CRI) but a frontend to manage local containers independent from k8s. “Podman does NOT speak CRI.” It's meant a Drop-in replacement for local unorchestrated Docker installations and gives end-users the same CLI without requiring a daemon.
Podman also supports pods. But they are not the same as k8s pods, but you can generate pod manifests to use when transferring your workload from dev (local podman) to a k8s cluster.
You should probably read this document which explains the internals of openshift.
https://www.openshift.com/blog/whats-inside-openshift-4
OpenShift hasn’t used Docker since 3. In openshift 4, it uses CRI-O and runc.
if you use CRIO as a container runtime, you are... in a way... sort of...
technically... you use some parts that are shared between podman and CRIO.
Lets take a rule of tumb everything directly deployed on openshift is a container
Kubevirt deploys a VM in a container ( https://www.openshift.com/learn/topics/virtualization/#:~:text=OpenShift%20Virtualization%20(formerly%20container%2Dnative,serverless%20all%20in%20one%20platform. )
OpenShift works very well with ansible, including but not limited to deployment of the cluster. I would suggest the OpenShift blog to get nice articles about the inner workings of it and the OpenShift origin repo on GitHub.
I’ve deployed my lab cluster with this
https://www.openshift.com/blog/openshift-upi-using-static-ips
Would recommend familiarizing yourself with 'oc explain'
One of the most useful commands out there when learning open shift
I have no idea why you would think "web UI" means you can't manage something effectively. I could see "command-line vs GUI" where the two are just different modes of expressing your desires to a computer but "GTK vs Web UI" is literally an implementation detail.
Red Hat has had RH(E)V for a decade now which is driven by a web UI and OpenShift has the ability to run virtual machines which can be done either through the web UI or command line.
Cockpit being the preferred graphical manager is just because using a non-Enterprise virt solution in an enterprise environment (RHEL's target demo) screams "ad hoc deployment." In that context you can more from having a comprehensive tool that manages more than just the VM's you're running on the machine.
My understanding of Heroku is that they don't offer Windows based hosting, so you'd need to convert your app to Core to use Heroku.
Other options are AWS or Azure, though I'm not sure if they have a 100% free tier.
A quick search online and it looks like Red Hat OpenShift might work for you. They have a learning section that looks detailed: https://www.openshift.com/products/features
Hey, great to here you are doing you bachelor thesis on OpenShift. Are you part of the Red Hat Graduate Program? Otherwise you can use the Free Tier of OpenShift Online (https://www.openshift.com/products/online/) to get a little bit of compute without running CRC.
If you need any help, please feel free to contact me. I'm happy to help!
Disclosure: I'm working for Red Hat :)
This is a pretty fundamental part of OpenShift 4 cluster design, which is another way of saying OpenShift isn't designed with this use case in mind. When something is automated it necessarily has to make assumptions about usage patterns. The assumption OpenShift makes about the typical deployment scenario is that the control-plane is running 100% of the time.
You might submit an RFE to Red Hat so that they know there is demand for this functionality (but if you're not a large client, I wouldn't expect it to get prioritized).
My suggestion would be to either:
Several choices I see:
I am mainly using containers with docker-compose: it's simple to start with and goes a long way. I don't need any HA, any scaling or a storage layer.
I'm afraid I'm not an expert, my staff are the ones who know their stuff - but this blog may be handy: https://www.openshift.com/blog/monitoring-services-like-an-sre-in-openshift-servicemesh-part-2-collecting-standard-metrics-3
I'm a big RH fan as everything is Open Source, so there should be some pointers there if not an answer.
Take a look at Migrating OpenShift Apps across OCP version gaps with CAM.
The CAM tool can be used to migrate applications between OpenShift clusters, including persistent volumes.
Another way to do this would be to use specific NFS exports or iSCSI targets and while you're up there persistent volumes by hand in each cluster.
Currently OCS is a converged Storage where your ceph OSD and mon runs in containers, preferably on dedicated infra worker nodes.
There is an rumoured version of the OCS operator in the works that can instead use an external ceph cluster for storage, which possibly could do what you're hinting at. ETA is unknown.
But without knowing more details of how you're intending to use your persistent volumes it's really hard to estimate.
OCS comes with Multi-cloud object gateway (Noobaa) so perhaps that could be of some use to you.
https://www.openshift.com/blog/introducing-multi-cloud-object-gateway-for-openshift
Hi! I will assume that you wan't to try this on OpenShift 4.x, if so minishift is out, that is based on OpenShift 3.x. CRC (Code Redy Containers) is a single node install for your local machine, for developers and so on. With any install of OpenShift 4.x you get 60 days evaluation. So it is totally possible for you to deploy OCP on AWS or some other cloud provider totally free for 60 days, no support of course. The cost would be the VMs and infra components. If you have access to baremetal servers that could bring your total cost down to $0. Hope this helps. https://www.openshift.com/try
You might want to check Red Hat Openshift on z:
https://www.openshift.com/blog/ibm-and-red-hat-bring-openshift-to-ibm-z-and-linuxone
Or the Open Mainframe project: https://www.openmainframeproject.org/
Red Hat Service Mesh (Istio sidecar proxy) is huge. It will help devs separate some concerns such as SSL certs, load balancing, auth, tracing http requests visually (amazing), et cetera
https://www.openshift.com/blog/red-hat-openshift-service-mesh-is-now-available-what-you-should-know
More on Istio
> OpenShift is NOT K8s.
https://www.openshift.com/blog/enterprise-kubernetes-with-openshift-part-one
https://www.cncf.io/certification/software-conformance
> When you are working on cutting edge tech like K8s there are big advantages, even in prod, to what is being released. Being on a proprietary fork of 13, or 14, while K8s is on 18 now has fallout. Software won’t run. Monitoring end points in some storage aren’t available.
All Openshift code is open source and...
> Your Attitude about prod is ancient too. This is the era of Move Fast and Break Things. RHEL is glacial. That’s why they had to sell to IBM, who is also glacial.
Funny you say that... Aside from my and many other systems people opinion about this topic (who do not come from developer background and understand importance of solid and stable foundation for infrastructure), there was this article and discussion at HN recently:
This might help. Please bare in mind though, it's instructions for what was effectively a beta release. You'll still need to cross reference with the docs for the actual release you want to deploy (I assume 4.3).
One thing to note that unless it says otherwise, none of the prerequisites for the version you want to deploy are optional. Just because they may be difficult, doesn't mean you don't have to do them.
There's no direct 3 -> 4 upgrade; you'd create a 4.x cluster and move workloads to it.
I haven't dealt with OKD but I do know that there's a migration tool in 4.x available via the Operator Hub that'll let you ingest apps from other clusters, including 3.x clusters. Red Hat has a page on migrating from 3 to 4 with some videos that might be informative.
ETA: There's no upgrade because you're moving from a more traditional approach (spraying K8s components across existing Linux hosts) to one where everything is managed by the cluster, including the hosts themselves. Since you end up creating new nodes anyway, I suspect Red Hat saw more value in making good general-use migration tools over special-casing the installer to seed the 4.x cluster with configuration and apps from 3.x.
Just guessing, I don't speak for Red Hat.
OK, well if you're not limited to government services then you can find a fairly comprehensive list of public references here.
In terms of public facing services, HCA Healthcare, BMW Connected Drive, Cathay Pacific, and British Columbia are all things that might fit the bill.
Assuming you're working on this with a Red Hat Account Team, you should contact them if you wish to have reference calls with existing customers.
Heroku or OpenShift is what I would suggest.
https://devcenter.heroku.com/categories/java-support
https://www.openshift.com/learn/get-started/
You should be able to deploy your web app on their free tiers.
OpenShift Online has a free tier that could be useful to you. It is not vanilla Kubernetes but if you are aware of what bits are OpenShift specific it shouldn't really be a problem to avoid them.
if you need a REALLY SMALL machine, you could use openshift . Their free layer is small but Will work for what you want.
https://www.openshift.com/products/pricing/
Back in the day when i used that the catch of the free layer was if the machine was inactive then after a few hours turned off but with an automatic ping or something like that you keep it alive and running.
​
I just remembered that Red Hat provides a resource grant that Agorakit can apply for. Since Red Hat is a leading open source company, I think they should be happy to support Agorakit!
> Où louer un truc pas cher avec un IIS qui tourne?
Openshift avec ce docker peut être ? C'est cher en pro mais tu peux commencer gratuitement avec le strater.
> C'est facile d'utiliser github comme repo? C'est possible d'avoir une UI de git dans Visual Studio ou pas et de pas tout se taper en mode console?
Bas c'est du git, si tu connais déjà rien ne change, si tu n'y es pas habitué je recommande quand même de passer par la console pour bien apprendre le truc.
Have you considered Red Hat Openshift?
To be quite honest, I like OpenShift a lot - and run a few applications on it myself. It's cost effective, has a fairly decent ecosystem of "cartridges" - these are basically templates that you use to build your application on top of. So the cartride will provide a part of your stack.
So for a LAMP application you'd need two cartridges: PHP, and MySQL. If you don't find cartridges for the version that you want, you can often find them on Github. When you create an application in the UI you simply link to the git repository that you want to use a cartridge. In the unlikely event of a cartridge not being available, you can write your own - but meh, maybe I'm lazy but that's when I'd look for alternatives.
I've just logged in to the OpenShift Console and immediately saw these cartridges:
I've also found this on Google - https://github.com/diogogoebel/openshift-lamp - alas both PHP and MySQL are 5.5 there. I'm sure that cartridge could be modified though, but I appreciate that may be a bit too much effort to be fair.
Good luck.
Openshift bronze plan (free) has always covered my simple requirements.
Have started moving my node apps to now as it's so easy to deploy to.
All good advice, thanks!
Right now, the project is just me, so working with the OpenShift All-In-One VM is suitable, at least while the project is pre-revenue. However, once there is a revenue stream, it will make sense to move to some hosting solution, whether OpenShift Online or OpenShift Container Platform running on the IaaS of my choice.
I could do this if /u\/slark_picker doesn't want to.
> maybe make it sound cooler.
Would be quite easy to make the accept-phrase(s) - along with all the actual messages - configurable via a simple config file.
> requires a database or something.
It would be easiest to do with a database.
Gotta keep track of the VUL strikes, in-progress requests, and a maybe more.
Either way, if you don't have a host lined up for the bot - I'd guess you do as you already have made the account - Openshift works with bots and is free.
Neat subreddit concept by the way, basically /r/requestabot for .ipa
s.
just download one of their "sample applications", swap out their hello world code, plop in you code and git push and it will be on the internet.
also it's free for like 5 or so apps.
I love open shift!
This is most definitely possible for a bot, just wanted a little clarification on where the data - movie title & link - was coming from.
So, writing it out:
rate
- How often the bot will do the tasks below. Could be anything: hourly, daily, 12-hourly, etc. I'd go for something between hourly and 12-hourly.
The post made by the bot would be - just guessing here - a link-post like such:
Title: The Jungle Book
Link: http://www.rottentomatoes.com/m/the_jungle_book_2016/
Do I got everything right here?
> Don't worry about hosting it either, Openshift has a free plan that lets you run three applications.
I also made a PHP and SQL site for something like this.
If you don't care too much for not having a full domain to yourself, you can use Openshift. They have a free plain that lets you runathree applications under subdomains of rhcloud.com
, so something like firstpart-secondpart.rhcloud.com
. You can run quite a lot of things on it - PHP, Java, Python, etc.
> It does take a bit of know-how to get started on Openshift, but you should be good as long as you follow the instructions.
I heard that Flask for Python is beginner friendly - never worked with it directly myself though.
Feel free to PM me if you do decide on the PHP route and get stuck/lost, I could help you out a bit.
I got a basic one working on my subreddit, /r/Rascal_Two
I got it changing the image every 60 seconds as demonstration.
It's using a old random-comic fetching script I had from before, so I'm going to need to know where are the daily images are going to be coming from.
Anyplace will work, I just need to know where. For example, what you see working on my subreddit is just a random comic fetcher downloading a comic image and uploading it to the subreddit stylesheet as daily.jpg
.
You're going to have to host it yourself.
Don't worry though, Openshift offers free hosting for three apps. If you already have a host in mind, well good, otherwise I can help you with Openshift if you can't figure it out yourself.
Honestly, I was struggling with Heroku for close to a day, and dropped it. Picked up openshift and get the app running within 30 mins. And all that by just reading the official documentation. So I can safely say, yes it's easier than Heroku!
I am using The Open source cloud hosting as of now, but if you want, you can opt for dedicated server or even your own VPS! It's just an excellent PaaS provider, where deploying applications gets much more easier.
And pricing isn't that much on higher side : https://www.openshift.com/pricing/index.html
also a noob... worse yet, focused primarily on OpenShift So, I'll apologize in advance if some of the concepts are OSE-specific. I'm also a "platform guy" so, a lot of the CI/CD concepts are foreign to me.
In OSE we have S2I (source to image) which seems to pull a standard image from the repo and then apply your own code on top of that to build the image. I really wish I had more to offer as far as direction, but from my whole 3 weeks of experience, it seems like the S2I (aka STI) method would help you add your own code.
There is OpenShift Origin and OpenShift online which should allow you to test. I don't know of a community-based S2I/STI offering that is stand-alone.
> I feel like I am hitting my head against the wall on something that is intended to not be so tough.
I can concur with your feelings there... everything makes total sense and seems like "the right way"... but it feels like every step of the way, I am having to unlearn something I have been doing differently for 15 years.
It depends on server, normally webhost's offers you only space (public_html) where you can't host your bot. There is other servers such as Openshift PaaS which can host bots too.
I googled a bit and come up with https://www.openshift.com
I looked into AWS and it didn't look good (I think they make you app unavailable for some part of a day or smth).
Mind you, it might not be too easy to do. (I found this as a starting point https://blog.openshift.com/how-to-host-your-clojure-app-on-openshift/)
Even if you make it, you still need some stuff to know:
There's probably more stuff to figure out. Can't tell until I try to do this.
It is possible to message a channel, yes! I'm not sure how to hook into reddit messages, but I know there's a way. And as for free hosts, you can use OpenShift. It's a bit confusing to setup but it's simple after that!
I've been using red hat's open shift for about two years and I totally recommend it! You get three "servers" for free to try, you can easilly install php/mysql/phpmyadmin with a few clicks... ;D
Yes you need a server that run a node.js process with your script, like Heroku or any of a gazillion (cloud)hosting providers. If you want to play with one get a free (small) instance at OpenShift: https://www.openshift.com/ : they have a Node.js pre build one, so you'd only have to clone a GIT repo, push code to it an it runs automagically.
I'm actually trying to do it hosting the app with Openshift (RHC) https://www.openshift.com/ with a free account, and in the documentation it says the next:
> You can always take advantage of our *.rhcloud.com wildcard certificate in order to securely connect to any application via it’s original, OpenShift-provided hostname URL.
> Support for enabling HTTPS connections to custom, aliased hostnames is available for users of OpenShift Online’s premium plans.
This means I can't use this hosting? Or I can just use the *.rhcloud certificate?
Im pretty new to managing applications online, so be gently :)
Thanks you.
At the moment it is $10 a month with digitalocean. I am looking at doing some tests on https://www.openshift.com/ since they have some free plans that might do the trick. The only hurdle with hosting is that the server needs to be able to make the api calls fast enough to make site load times short. When the site first launched info page load times were about 13 second, way too long. I cleaned up the code and only shaved about 4 seconds off of that time. but moving to its current hosting, It reduced load times down to 3-4seconds. not bad considering the number of api calls required to get all the data I need to produce the required readout.
If you are using a hosting provider (like OpenShift or Heroku), they may have a recommended deployment process.
Otherwise, Capistrano is generally the tool-of-choice for deploying ruby apps. You can see a list of other deployment tools and get an idea of their relative popularity here on ruby-toolbox.com.
I thought that Openshift only allowed 3 apps for the free tier. Am I wrong on this? Has anyone tried opening more than three apps there?