8 ms·
You are expecting to understand how a completely new and complex technology works from 5 lines of text. Imagine if someone tried to explain Kubernetes to you in
by iqanq 5y ago
You are expecting to understand how a completely new and complex technology works from 5 lines of text. Imagine if someone tried to explain Kubernetes to you in 5 lines of text.
- danjac 5y agoSure, but celebrities and grifters aren't pushing the general public to adopt Kubernetes or bet their life savings on their understanding of it.
- PretzelPirate 5y agoThere certainly is a different group who pushes Kubernetes as the savior of DevOps. I’ve seen this put plenty of pressure on teams to adopt it and they’ve gone in too fast, resulting in downtime, security issues, and huge operational costs. These are real costs and can have an affect on someone’s home life and career prospects within their company. I’ve had to go in and save quite a few of these people, and they were pretty miserable. We shouldn’t shill any technology, and anytime we do talk about it’s virtues we should discuss its shortcomings and why people should be hesitant to use it.
- danjac 5y agoAgreed - but Kubernetes won't result in you losing half a million of your assets in an instant. I mean unless you decide to use Amazon EKS for a side project of course...
- saboot 5y agoLet's try. I don't know what kubernetes does. Can anyone explain in five lines of text?
- doteka 5y agoIt abstracts away underlying hardware, leaving you with a convenient set of abstractions for deploying containerized networked services. Sort of an OS for a cluster of distributed machines. Unfortunately this involves lots of YAML. How’d I do?
- noitpmeder 5y agoBetter than all the crypto nonsense.
- saboot 5y agoExcept for the very last part because I don't know what YAML is, but the rest was understandable. Which I think drives the point of all this crypto talk in acronyms contributes to it being incomprehensible.
- drdeca 5y agoYAML stands for “YAML Ain’t Markup Language”, (originally “Yet Another Markup Language”). It it a way of storing the same kind of thing that JSON can store. Though, unlike JSON, it supports comments, uses a python-like significant indentation, and has a few uh, things not in quotes sometimes being taken as strings, but if it is `NO` then instead, if there are no quotes, it will be interpreted as the constant false .
- iqanq 5y agoOne could write a sentence like that about smart contracts. One I pulled from Google: Smart contracts are simply programs stored on a blockchain that run when predetermined conditions are met. They typically are used to automate the execution of an agreement so that all participants can be immediately certain of the outcome, without any intermediary’s involvement or time loss. They can also automate a workflow, triggering the next action when conditions are met.
- erikbye 5y agoAnd here's the "oh so complex" contract in question, all 60 lines. contract WETH9 { string public name = "Wrapped Ether"; string public symbol = "WETH"; uint8 public decimals = 18; event Approval(address indexed src, address indexed guy, uint wad); event Transfer(address indexed src, address indexed dst, uint wad); event Deposit(address indexed dst, uint wad); event Withdrawal(address indexed src, uint wad); mapping (address => uint) public balanceOf; mapping (address => mapping (address => uint)) public allowance; function() public payable { deposit(); } function deposit() public payable { balanceOf[msg.sender] += msg.value; Deposit(msg.sender, msg.value); } function withdraw(uint wad) public { require(balanceOf[msg.sender] >= wad); balanceOf[msg.sender] -= wad; msg.sender.transfer(wad); Withdrawal(msg.sender, wad); } function totalSupply() public view returns (uint) { return this.balance; } function approve(address guy, uint wad) public returns (bool) { allowance[msg.sender][guy] = wad; Approval(msg.sender, guy, wad); return true; } function transfer(address dst, uint wad) public returns (bool) { return transferFrom(msg.sender, dst, wad); } function transferFrom(address src, address dst, uint wad) public returns (bool) { require(balanceOf[src] >= wad); if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) { require(allowance[src][msg.sender] >= wad); allowance[src][msg.sender] -= wad; } balanceOf[src] -= wad; balanceOf[dst] += wad; Transfer(src, dst, wad); return true; } }
- hughrr 5y agoThe issue is the question here which is probably invalid. Cryptocurrency is designed for general use. Kubernetes is designed to abstract specific problems away for specialists.
- iqanq 5y agoSmart contracts are not something people who just want to send and receive money are meant to use.
- deleted 5y ago[deleted]
- ajb 5y agoSystemd for clusters
- hughrr 5y agoI wouldn’t offend kubernetes with that association :)